summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-03-16 09:53:57 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-03-16 09:53:57 +0000
commit90a2c66a0df1d388049123a95d9406709a376ba0 (patch)
tree5b0e9f57b4d2fc98a1ca0d864d5ca000f84f9e22 /x11-wm/metacity/files
parentRemove old versions of www-apache/mod_wsgi. (diff)
downloadgentoo-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/files')
-rw-r--r--x11-wm/metacity/files/metacity-2.28.1-wif_macros.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-wm/metacity/files/metacity-2.28.1-wif_macros.patch b/x11-wm/metacity/files/metacity-2.28.1-wif_macros.patch
new file mode 100644
index 000000000000..4ce382e9002f
--- /dev/null
+++ b/x11-wm/metacity/files/metacity-2.28.1-wif_macros.patch
@@ -0,0 +1,16 @@
+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
+
+--- metacity-2.28.1/src/core/delete.c.old 2010-03-15 07:46:52.000000000 +0100
++++ metacity-2.28.1/src/core/delete.c 2010-03-15 07:47:12.000000000 +0100
+@@ -32,6 +32,7 @@
+ #include "workspace.h"
+
+ #include <sys/types.h>
++#include <sys/wait.h> /* WIF* macros */
+ #include <signal.h>
+ #include <unistd.h>
+ #include <errno.h>