1 |
commit: 7cb5959940da8564a30e3cfd9d579ef87bdb35fd |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 28 13:40:36 2020 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 28 13:40:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=7cb59599 |
7 |
|
8 |
dev-libs/glib-2.56.2: fix macOS compilation using GCC |
9 |
|
10 |
Package-Manager: Portage-3.0.10-prefix, Repoman-3.0.2 |
11 |
RepoMan-Options: --force |
12 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
13 |
|
14 |
dev-libs/glib/glib-2.56.2.ebuild | 4 ++++ |
15 |
1 file changed, 4 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/glib/glib-2.56.2.ebuild b/dev-libs/glib/glib-2.56.2.ebuild |
18 |
index a15483a56d..791f5bf75b 100644 |
19 |
--- a/dev-libs/glib/glib-2.56.2.ebuild |
20 |
+++ b/dev-libs/glib/glib-2.56.2.ebuild |
21 |
@@ -156,6 +156,10 @@ src_prepare() { |
22 |
glib/giounix.c || die |
23 |
fi |
24 |
|
25 |
+ # disable native macOS integrations |
26 |
+ sed -i -e '/glib_have_\(carbon\|cocoa\)=yes/s/yes/no/' \ |
27 |
+ configure{.ac,} || die |
28 |
+ |
29 |
gnome2_src_prepare |
30 |
} |