1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Adapt a patch from metacity to fix the build on 6.X.

This commit is contained in:
Joe Marcus Clarke 2009-12-19 20:04:15 +00:00
parent 35a603c7f1
commit 5c6a1954ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246257

View File

@ -1,5 +1,5 @@
--- src/core/main.c.orig 2009-08-14 00:40:56.000000000 +0000
+++ src/core/main.c 2009-08-14 00:41:22.000000000 +0000
--- src/core/main.c.orig 2009-08-25 13:49:41.000000000 -0400
+++ src/core/main.c 2009-12-19 15:03:26.000000000 -0500
@@ -59,7 +59,11 @@
#include <stdlib.h>
@ -12,3 +12,13 @@
#include <stdio.h>
#include <string.h>
#include <signal.h>
@@ -445,6 +449,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)