aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorRyan Hendrickson2014-10-27 22:01:41 -0400
committerJack Nagel2014-10-27 21:31:34 -0500
commit5c6a48c378f07efdb760fd7f98fadc640ce515ab (patch)
tree3e3b198eac12d7b19acf0471b9a821f1c02a04a9 /Library/Formula
parent7742396fc2ab42db55c8ce4229dceb79bb6156b5 (diff)
downloadhomebrew-5c6a48c378f07efdb760fd7f98fadc640ce515ab.tar.bz2
gtk+3: fix compilation on pre-10.7
Closes #33664. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gtk+3.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/gtk+3.rb b/Library/Formula/gtk+3.rb
index e47c26e71..8b38720cd 100644
--- a/Library/Formula/gtk+3.rb
+++ b/Library/Formula/gtk+3.rb
@@ -26,6 +26,20 @@ class Gtkx3 < Formula
depends_on 'gobject-introspection'
depends_on 'gsettings-desktop-schemas' => :recommended
+ # These two patches fix a compilation error on Snow Leopard when
+ # using quartz backend (no effect on later OS versions)
+ # Can be removed when upstream releases these commits (3.14.5?)
+ # See: https://bugzilla.gnome.org/show_bug.cgi?id=737561
+ patch do
+ url "https://git.gnome.org/browse/gtk+/patch/?id=7d3991f2757de8374e11891e21e82f61242b4034"
+ sha1 "66dc9d63ba6d2f9219d0dbe27f2dd8343b07ab0c"
+ end
+
+ patch do
+ url "https://git.gnome.org/browse/gtk+/patch/?id=830a72b307b33815179aa0b03dad498c9ac1bb14"
+ sha1 "5a39469d8923ac9ce1f6511c4e304f7e1cba781c"
+ end
+
def install
args = %W[