diff options
| author | Misty De Meo | 2013-10-21 21:30:28 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-10-21 21:31:47 -0700 |
| commit | cf1211dfac85ec342a8c5a24cd796d6e5720a289 (patch) | |
| tree | 16676daaa79b3e327cc9057333ba72f784c40432 | |
| parent | 9ff316d5fa61e2c96a7fa74fb7b1362e9f77d7e1 (diff) | |
| download | homebrew-cf1211dfac85ec342a8c5a24cd796d6e5720a289.tar.bz2 | |
glib: fix build on FSF GCC
Fixes #23393.
| -rw-r--r-- | Library/Formula/glib.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/glib.rb b/Library/Formula/glib.rb index e9b22467e..74ff8ce00 100644 --- a/Library/Formula/glib.rb +++ b/Library/Formula/glib.rb @@ -25,10 +25,15 @@ class Glib < Formula def patches p = {} + p[:p1] = [] # 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/6700436/raw/a94f21a9c5ccd10afa0a61b11455c880640f3133/glib-configurable-paths.patch" + p[:p1] << "https://gist.github.com/jacknagel/6700436/raw/a94f21a9c5ccd10afa0a61b11455c880640f3133/glib-configurable-paths.patch" + # Fixes compilation with FSF GCC. Doesn't fix it on every platform, due + # to unrelated issues in GCC, but improves the situation. + # Patch submitted upstream: https://bugzilla.gnome.org/show_bug.cgi?id=672777 + p[:p1] << "https://gist.github.com/mistydemeo/8c7eaf0940b6b9159779/raw/11b3b1f09d15ccf805b0914a15eece11685ea8a5/gio.diff" p[:p0] = "https://trac.macports.org/export/111532/trunk/dports/devel/glib2/files/patch-configure.diff" if build.universal? p end |
