summaryrefslogtreecommitdiffstats
path: root/x11-wm/metacity
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-04-01 19:58:01 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-04-01 19:58:01 +0800
commit244d15f6ec835163b6ce54181eb86ef17a96ed5b (patch)
tree71eb1884bd18d0f592f4987303c0182fa6b67be8 /x11-wm/metacity
parente80c5eb94f1ae2b308f3da5a22d2215d805ef305 (diff)
downloadmarcuscom-ports-244d15f6ec835163b6ce54181eb86ef17a96ed5b.tar
marcuscom-ports-244d15f6ec835163b6ce54181eb86ef17a96ed5b.tar.gz
marcuscom-ports-244d15f6ec835163b6ce54181eb86ef17a96ed5b.tar.bz2
marcuscom-ports-244d15f6ec835163b6ce54181eb86ef17a96ed5b.tar.lz
marcuscom-ports-244d15f6ec835163b6ce54181eb86ef17a96ed5b.tar.xz
marcuscom-ports-244d15f6ec835163b6ce54181eb86ef17a96ed5b.tar.zst
marcuscom-ports-244d15f6ec835163b6ce54181eb86ef17a96ed5b.zip
Add metacity patches
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13934 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-wm/metacity')
-rw-r--r--x11-wm/metacity/files/patch-configure11
-rw-r--r--x11-wm/metacity/files/patch-src_core_delete.c10
-rw-r--r--x11-wm/metacity/files/patch-src_core_main.c14
3 files changed, 35 insertions, 0 deletions
diff --git a/x11-wm/metacity/files/patch-configure b/x11-wm/metacity/files/patch-configure
new file mode 100644
index 000000000..223d0af9e
--- /dev/null
+++ b/x11-wm/metacity/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2010-04-01 13:44:38.000000000 +0200
++++ configure 2010-04-01 13:45:49.000000000 +0200
+@@ -24238,7 +24238,7 @@
+ "
+
+ METACITY_MINOR_VERSION=30
+-if test $(( $(echo $METACITY_MINOR_VERSION) %2)) == "1"; then
++if test $(( $(echo $METACITY_MINOR_VERSION) %2)) = "1"; then
+ stable_version=$(( ($METACITY_MINOR_VERSION / 2) * 2))
+ echo "This is the UNSTABLE branch of metacity"
+ echo -n "Use 2.$stable_version.x for stable "
diff --git a/x11-wm/metacity/files/patch-src_core_delete.c b/x11-wm/metacity/files/patch-src_core_delete.c
new file mode 100644
index 000000000..c72b0f60a
--- /dev/null
+++ b/x11-wm/metacity/files/patch-src_core_delete.c
@@ -0,0 +1,10 @@
+--- src/core/delete.c.orig 2010-01-30 18:56:27.000000000 -0500
++++ src/core/delete.c 2010-01-30 18:56:53.000000000 -0500
+@@ -32,6 +32,7 @@
+ #include "workspace.h"
+
+ #include <sys/types.h>
++#include <sys/wait.h>
+ #include <signal.h>
+ #include <unistd.h>
+ #include <errno.h>
diff --git a/x11-wm/metacity/files/patch-src_core_main.c b/x11-wm/metacity/files/patch-src_core_main.c
new file mode 100644
index 000000000..2d5171e5d
--- /dev/null
+++ b/x11-wm/metacity/files/patch-src_core_main.c
@@ -0,0 +1,14 @@
+--- src/core/main.c.orig 2010-01-21 11:09:25.000000000 -0500
++++ src/core/main.c 2010-01-30 18:53:17.000000000 -0500
+@@ -58,7 +58,11 @@
+
+ #include <stdlib.h>
+ #include <sys/types.h>
++#ifdef __linux__
+ #include <wait.h>
++#else
++#include <sys/wait.h>
++#endif
+ #include <stdio.h>
+ #include <string.h>
+ #include <signal.h>