diff options
author | 2011-09-04 09:10:11 +0000 | |
---|---|---|
committer | 2011-09-04 09:10:11 +0000 | |
commit | ea73a1f5113e5285d6dcb009941fbb7b67981af8 (patch) | |
tree | 45fa8d881a86ce5808466e4278472549a17db29d /x11-libs/gtk+ | |
parent | Marked ~sparc-solaris (diff) | |
download | gentoo-2-ea73a1f5113e5285d6dcb009941fbb7b67981af8.tar.gz gentoo-2-ea73a1f5113e5285d6dcb009941fbb7b67981af8.tar.bz2 gentoo-2-ea73a1f5113e5285d6dcb009941fbb7b67981af8.zip |
Fix compilation on Solaris
(Portage version: 2.2.01.19120-prefix/cvs/SunOS i386)
Diffstat (limited to 'x11-libs/gtk+')
-rw-r--r-- | x11-libs/gtk+/ChangeLog | 5 | ||||
-rw-r--r-- | x11-libs/gtk+/gtk+-3.0.12.ebuild | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/x11-libs/gtk+/ChangeLog b/x11-libs/gtk+/ChangeLog index 105a9a5fc13b..eb5ef8d6b3bd 100644 --- a/x11-libs/gtk+/ChangeLog +++ b/x11-libs/gtk+/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-libs/gtk+ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.529 2011/08/28 13:24:00 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.530 2011/09/04 09:10:11 grobian Exp $ + + 04 Sep 2011; Fabian Groffen <grobian@gentoo.org> gtk+-3.0.12.ebuild: + Fix compilation on Solaris 28 Aug 2011; Fabian Groffen <grobian@gentoo.org> gtk+-2.24.5-r1.ebuild: Marked ~x64-macos diff --git a/x11-libs/gtk+/gtk+-3.0.12.ebuild b/x11-libs/gtk+/gtk+-3.0.12.ebuild index 7272ce980f93..4e0f3bf659a0 100644 --- a/x11-libs/gtk+/gtk+-3.0.12.ebuild +++ b/x11-libs/gtk+/gtk+-3.0.12.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-3.0.12.ebuild,v 1.2 2011/08/11 09:06:56 mduft Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-3.0.12.ebuild,v 1.3 2011/09/04 09:10:11 grobian Exp $ EAPI="4" @@ -106,6 +106,11 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-3.0.8-darwin-quartz.patch # fix building with gir #372953 epatch "${FILESDIR}"/${PN}-3.0.11-darwin-quartz-introspection.patch + # Solaris is strict, and needs c99 + # http://mail.gnome.org/archives/gtk-devel-list/2011-April/msg00127.html + if [[ ${CHOST} == *-solaris* ]] ; then + sed -i -e '/_XOPEN_SOURCE 500/d' gtk/gtksearchenginesimple.c || die + fi } src_configure() { |