1 |
commit: 5bdc82d53e7818357d81282c4f24da727393b51e |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 27 18:08:20 2018 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 27 18:48:32 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bdc82d5 |
7 |
|
8 |
sys-apps/dbus: fix compilation on Solaris |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
sys-apps/dbus/dbus-1.12.12.ebuild | 7 +++++++ |
14 |
1 file changed, 7 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/dbus/dbus-1.12.12.ebuild b/sys-apps/dbus/dbus-1.12.12.ebuild |
17 |
index a11d0021b82..684fea1d6f8 100644 |
18 |
--- a/sys-apps/dbus/dbus-1.12.12.ebuild |
19 |
+++ b/sys-apps/dbus/dbus-1.12.12.ebuild |
20 |
@@ -83,6 +83,13 @@ src_prepare() { |
21 |
|
22 |
default |
23 |
|
24 |
+ if [[ ${CHOST} == *-solaris* ]]; then |
25 |
+ # fix standards conflict, due to gcc being c99 by default nowadays |
26 |
+ sed -i \ |
27 |
+ -e 's/_XOPEN_SOURCE=500/_XOPEN_SOURCE=600/' \ |
28 |
+ configure.ac configure || die |
29 |
+ fi |
30 |
+ |
31 |
# required for bug 263909, cross-compile so don't remove eautoreconf |
32 |
eautoreconf |
33 |
} |