summaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-10-03 11:38:01 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-10-03 11:38:01 +0800
commit32a7c26f6733bdfce538ac0613fcf463ef00b4d4 (patch)
tree8d8de75f516bd6bd51b5a2be8be9e593fe83174f /x11-wm
parent3e01121da2c1a0d9e35f9074927ae41cdb5c4c4d (diff)
downloadmarcuscom-ports-32a7c26f6733bdfce538ac0613fcf463ef00b4d4.tar
marcuscom-ports-32a7c26f6733bdfce538ac0613fcf463ef00b4d4.tar.gz
marcuscom-ports-32a7c26f6733bdfce538ac0613fcf463ef00b4d4.tar.bz2
marcuscom-ports-32a7c26f6733bdfce538ac0613fcf463ef00b4d4.tar.lz
marcuscom-ports-32a7c26f6733bdfce538ac0613fcf463ef00b4d4.tar.xz
marcuscom-ports-32a7c26f6733bdfce538ac0613fcf463ef00b4d4.tar.zst
marcuscom-ports-32a7c26f6733bdfce538ac0613fcf463ef00b4d4.zip
Fix the build on 6.X.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13084 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/metacity/files/patch-src_core_main.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/x11-wm/metacity/files/patch-src_core_main.c b/x11-wm/metacity/files/patch-src_core_main.c
index 3d725199d..a88ecf2af 100644
--- a/x11-wm/metacity/files/patch-src_core_main.c
+++ b/x11-wm/metacity/files/patch-src_core_main.c
@@ -1,5 +1,5 @@
---- src/core/main.c.orig 2009-05-03 11:54:25.000000000 +0200
-+++ src/core/main.c 2009-05-03 11:55:24.000000000 +0200
+--- src/core/main.c.orig 2009-09-08 16:55:35.000000000 -0400
++++ src/core/main.c 2009-10-02 23:36:53.000000000 -0400
@@ -58,7 +58,11 @@
#include <stdlib.h>
@@ -12,3 +12,13 @@
#include <stdio.h>
#include <string.h>
#include <signal.h>
+@@ -378,6 +382,9 @@ sigterm_handler (int signum)
+ }
+
+ static guint sigchld_signal_id = 0;
++#ifndef CLD_EXITED
++#define CLD_EXITED 1
++#endif
+
+ static void
+ sigchld_handler (int signum, siginfo_t *info, void *context)