diff options
| author | Jack Nagel | 2014-05-11 16:08:06 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-11 16:34:30 -0500 |
| commit | 90f0b2ecd7d519f32a5ce52a81728e728c884167 (patch) | |
| tree | 291c3345bbdb4ce96cc25f2880abea3fa44e703e /Library/Formula/glib.rb | |
| parent | 4b1dac5bf3573190de50447af1de49d63f998b62 (diff) | |
| download | homebrew-90f0b2ecd7d519f32a5ce52a81728e728c884167.tar.bz2 | |
glib: fix more hardcoded paths
Fixes #29014.
Closes #29132.
Closes #29142.
Closes #29143.
Diffstat (limited to 'Library/Formula/glib.rb')
| -rw-r--r-- | Library/Formula/glib.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/glib.rb b/Library/Formula/glib.rb index e17702265..35942b9a1 100644 --- a/Library/Formula/glib.rb +++ b/Library/Formula/glib.rb @@ -4,6 +4,7 @@ class Glib < Formula homepage "http://developer.gnome.org/glib/" url "http://ftp.gnome.org/pub/gnome/sources/glib/2.40/glib-2.40.0.tar.xz" sha256 "0d27f195966ecb1995dcce0754129fd66ebe820c7cd29200d264b02af1aa28b5" + revision 1 bottle do sha1 "85f199d88dd10459de8752a42bd25a6092046d14" => :mavericks @@ -34,8 +35,8 @@ class Glib < Formula # but needed to fix an assumption about the location of the d-bus machine # id file. patch do - url "https://gist.githubusercontent.com/jacknagel/6700436/raw/2d790a8bd0c59ef66835866523988fbf9f680443/glib-configurable-paths.patch" - sha1 "7b89ce26c256e43cfdc11bae0c4498ec8529bcd4" + url "https://gist.githubusercontent.com/jacknagel/af332f42fae80c570a77/raw/a738786e0f7ea46c4a93a36a3d9d569017cca7f2/glib-hardcoded-paths.diff" + sha1 "ce54abdbb4386902a33dbad7cb6c8f1b0cbdab0d" end # Fixes compilation with FSF GCC. Doesn't fix it on every platform, due @@ -54,6 +55,9 @@ class Glib < Formula def install ENV.universal_binary if build.universal? + inreplace %w[gio/gdbusprivate.c gio/xdgmime/xdgmime.c glib/gutils.c], + "@@HOMEBREW_PREFIX@@", HOMEBREW_PREFIX + # Disable dtrace; see https://trac.macports.org/ticket/30413 args = %W[ --disable-maintainer-mode |
