aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/glib.rb12
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/glib.rb b/Library/Formula/glib.rb
index 959081af7..340a59302 100644
--- a/Library/Formula/glib.rb
+++ b/Library/Formula/glib.rb
@@ -19,11 +19,13 @@ class Glib < Formula
end
def patches
- {
- :p0 => [
- "https://trac.macports.org/export/95596/trunk/dports/devel/glib2/files/patch-configure.diff"
- ]
- } if build.universal?
+ p = {}
+ # https://bugzilla.gnome.org/show_bug.cgi?id=673135 Resolved as wontfix,
+ # but needed to fix an assumption about the location of the d-bus machine
+ # id file.
+ p[:p1] = "https://gist.github.com/jacknagel/5393707/raw/5a9047ab7838709084b36242a44471b02d036386/glib-configurable-paths.patch"
+ p[:p0] = "https://trac.macports.org/export/95596/trunk/dports/devel/glib2/files/patch-configure.diff" if build.universal?
+ p
end
def install