summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-03-27 02:22:11 -0400
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-03-27 02:22:11 -0400
commit0ae7e9942c869eebf0187b4e36ddb5bd3237683a (patch)
tree8d4af9cb276d80ecb35c2f543788627be7a9ff20
parentgnome-base/gnome-session: restore cinnamon support, enable optional systemd s... (diff)
downloadgnome-0ae7e9942c869eebf0187b4e36ddb5bd3237683a.tar.gz
gnome-0ae7e9942c869eebf0187b4e36ddb5bd3237683a.tar.bz2
gnome-0ae7e9942c869eebf0187b4e36ddb5bd3237683a.zip
x11-wm/metacity: add missing patch
-rw-r--r--x11-wm/metacity/Manifest1
-rw-r--r--x11-wm/metacity/files/metacity-2.28.1-wif_macros.patch16
2 files changed, 17 insertions, 0 deletions
diff --git a/x11-wm/metacity/Manifest b/x11-wm/metacity/Manifest
index 5c05e1c0..7931688a 100644
--- a/x11-wm/metacity/Manifest
+++ b/x11-wm/metacity/Manifest
@@ -1,2 +1,3 @@
+AUX metacity-2.28.1-wif_macros.patch 500 RMD160 570a8b9e76e815cc5d207fddcf0278e193edbf77 SHA1 fa42355b0200d577eef767e28b8674eef5eb9e42 SHA256 94c1f3bd17c618a8b59585939987138bdbd590de8b3f6c16b89586e68c7c6cef
DIST metacity-2.34.3.tar.xz 1668396 RMD160 11418a7c344bdbaed24978e3f9abefaaf0cffc24 SHA1 bff0aef175a6a32d0ea20e5253bd9ed602db849d SHA256 aeac2548b62a98375fb5c832ee26ab4cb6d59f0dd96edcefb5f7bef2416576e7
EBUILD metacity-2.34.3.ebuild 1949 RMD160 dfaaca8edc1af64c9e42e3ac85a51f0c963e46e5 SHA1 84005f5b36dcaa77eb99851d7c1672b555f4dd65 SHA256 4a20be5ef9ebb351dea8c1db4eeef7d6705649c906c463dac580c84bc41a69fd
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 00000000..4ce382e9
--- /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>