diff options
| author | Tim D. Smith | 2015-02-01 23:32:01 -0800 |
|---|---|---|
| committer | Tim D. Smith | 2015-02-02 10:43:32 -0800 |
| commit | 3ca38e8b722593caba567594de09be39701490c0 (patch) | |
| tree | 6cc54af82ad642248a70fba654a9a1db8c15f11f | |
| parent | db3164b9a9ed8baee6d3fe9073da2c50b475050e (diff) | |
| download | homebrew-3ca38e8b722593caba567594de09be39701490c0.tar.bz2 | |
pygobject3: avoid redefining structs
Applies upstream commit to avoid compile error (with gcc?).
Fixes #34734. Fixes #36207. Closes #36452.
| -rw-r--r-- | Library/Formula/pygobject3.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/pygobject3.rb b/Library/Formula/pygobject3.rb index df5f69f99..89ce8de5e 100644 --- a/Library/Formula/pygobject3.rb +++ b/Library/Formula/pygobject3.rb @@ -34,6 +34,14 @@ class Pygobject3 < Formula sha1 "1d7aad99256d87d616a41b7026cd05267bd9f97f" end if build.with? 'tests' + # resolves "error: redefinition of typedef 'PyGIFunctionCache'" + # https://github.com/Homebrew/homebrew/issues/34734 + # https://bugzilla.gnome.org/show_bug.cgi?id=737874 + patch do + url "https://github.com/GNOME/pygobject/commit/0de827190e7575f7e1e339337b78c7d6e46957b4.diff" + sha1 "6a9c1f510964e9c09531c47538ca376af14522c5" + end + def install ENV.universal_binary if build.universal? |
