summaryrefslogtreecommitdiff
path: root/dev-python/pygtk/pygtk-2.24.0-r4.ebuild
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2017-03-14 10:07:01 -0300
committerGuilherme Amadio <amadio@gentoo.org>2017-03-15 22:32:02 -0300
commit45de86a213440aaf9e5cdee8c88e35d67d7778c1 (patch)
treed3f1bc16345acd2f298b995bd6a7fdeb27075e35 /dev-python/pygtk/pygtk-2.24.0-r4.ebuild
parent80cc7e7211af3ac120c95a22220588e375b1e59e (diff)
downloadgentoo-45de86a213440aaf9e5cdee8c88e35d67d7778c1.tar.gz
gentoo-45de86a213440aaf9e5cdee8c88e35d67d7778c1.tar.xz
dev-python/pygtk: Fix build on macOS, bugs 370079 and 400843
Gentoo-Bug: https://bugs.gentoo.org/370079 Gentoo-Bug: https://bugs.gentoo.org/400843 Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-python/pygtk/pygtk-2.24.0-r4.ebuild')
-rw-r--r--dev-python/pygtk/pygtk-2.24.0-r4.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild
index ee46d4be309..13904131a06 100644
--- a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild
+++ b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild
@@ -47,6 +47,9 @@ src_prepare() {
# Fix broken tests, https://bugzilla.gnome.org/show_bug.cgi?id=709304
epatch "${FILESDIR}/${P}-test_dialog.patch"
+ # Fix build on Darwin
+ epatch "${FILESDIR}/${PN}-2.24.0-quartz-objc.patch"
+
# Examples is handled "manually"
sed -e 's/\(SUBDIRS = .* \)examples/\1/' \
-i Makefile.am Makefile.in || die