diff options
Diffstat (limited to 'x11-wm/metacity/files/metacity-2.28.0-sys-wait-header.patch')
-rw-r--r-- | x11-wm/metacity/files/metacity-2.28.0-sys-wait-header.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-wm/metacity/files/metacity-2.28.0-sys-wait-header.patch b/x11-wm/metacity/files/metacity-2.28.0-sys-wait-header.patch new file mode 100644 index 0000000..5d7f4a1 --- /dev/null +++ b/x11-wm/metacity/files/metacity-2.28.0-sys-wait-header.patch @@ -0,0 +1,19 @@ +From: Alexis Ballier <aballier@gentoo.org> +Date: Thu, 5 Nov 2009 19:48:41 +0100 +Subject: Include sys/wait.h instead of only wait.h as described in POSIX specs. Fixes build on FreeBSD. + +--- + src/core/main.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +--- a/src/core/main.c ++++ b/src/core/main.c +@@ -58,7 +58,7 @@ + + #include <stdlib.h> + #include <sys/types.h> +-#include <wait.h> ++#include <sys/wait.h> + #include <stdio.h> + #include <string.h> + #include <signal.h> |