diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-03-16 09:53:57 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-03-16 09:53:57 +0000 |
commit | 90a2c66a0df1d388049123a95d9406709a376ba0 (patch) | |
tree | 5b0e9f57b4d2fc98a1ca0d864d5ca000f84f9e22 /x11-wm/metacity/metacity-2.28.1.ebuild | |
parent | Remove old versions of www-apache/mod_wsgi. (diff) | |
download | gentoo-2-90a2c66a0df1d388049123a95d9406709a376ba0.tar.gz gentoo-2-90a2c66a0df1d388049123a95d9406709a376ba0.tar.bz2 gentoo-2-90a2c66a0df1d388049123a95d9406709a376ba0.zip |
Fix build on BSD, bug #309443
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm/metacity/metacity-2.28.1.ebuild')
-rw-r--r-- | x11-wm/metacity/metacity-2.28.1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-wm/metacity/metacity-2.28.1.ebuild b/x11-wm/metacity/metacity-2.28.1.ebuild index 0aeae0026004..5f615a59c2ed 100644 --- a/x11-wm/metacity/metacity-2.28.1.ebuild +++ b/x11-wm/metacity/metacity-2.28.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/metacity/metacity-2.28.1.ebuild,v 1.1 2010/02/06 18:18:03 mrpouet Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/metacity/metacity-2.28.1.ebuild,v 1.2 2010/03/16 09:53:55 aballier Exp $ EAPI="2" # debug only changes CFLAGS @@ -79,4 +79,10 @@ src_prepare() { # Use sys/wait.h header instead of wait.h as described in posix specs, # bug 292009 epatch "${FILESDIR}/${PN}-2.28.0-sys-wait-header.patch" + + # WIFEXITED and friends are defined in sys/wait.h + # Fixes a build failure on BSD. + # https://bugs.gentoo.org/show_bug.cgi?id=309443 + # https://bugzilla.gnome.org/show_bug.cgi?id=605460 + epatch "${FILESDIR}/${PN}-2.28.1-wif_macros.patch" } |