diff options
author | kris <kris@FreeBSD.org> | 2002-10-26 09:16:02 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-10-26 09:16:02 +0800 |
commit | 58d04e22d070216ca0a0a03a6eef459c9ac27e5d (patch) | |
tree | 23fe03d0454f7466fb7b03f0cc8650f808145349 /x11 | |
parent | 185cb76fc3af34cde7ae1ed49bba888d5bc0eeb2 (diff) | |
download | freebsd-ports-gnome-58d04e22d070216ca0a0a03a6eef459c9ac27e5d.tar.gz freebsd-ports-gnome-58d04e22d070216ca0a0a03a6eef459c9ac27e5d.tar.zst freebsd-ports-gnome-58d04e22d070216ca0a0a03a6eef459c9ac27e5d.zip |
Fix build on -current (cope with removal of union wait)
Submitted by: mike
Diffstat (limited to 'x11')
-rw-r--r-- | x11/bricons/files/patch-action.c | 11 | ||||
-rw-r--r-- | x11/xdtm/files/patch-appman.c | 20 |
2 files changed, 31 insertions, 0 deletions
diff --git a/x11/bricons/files/patch-action.c b/x11/bricons/files/patch-action.c new file mode 100644 index 000000000000..c06c417a6d1c --- /dev/null +++ b/x11/bricons/files/patch-action.c @@ -0,0 +1,11 @@ +--- action.c.orig Fri Oct 25 11:18:06 2002 ++++ action.c Fri Oct 25 11:18:39 2002 +@@ -178,7 +178,7 @@ + { + int pid; + int i = 0; +- union wait status; ++ int status; + + + /* diff --git a/x11/xdtm/files/patch-appman.c b/x11/xdtm/files/patch-appman.c new file mode 100644 index 000000000000..69560c254b26 --- /dev/null +++ b/x11/xdtm/files/patch-appman.c @@ -0,0 +1,20 @@ +--- appman.c.orig Thu Mar 14 08:02:00 1996 ++++ appman.c Fri Oct 25 11:12:39 2002 +@@ -1297,7 +1297,7 @@ + #endif + FILE *processfp = NULL; /* file pointer to process */ + String *newargs, args; +-#if !defined(SYSV) && !defined(SVR4_0) && !defined(_POSIX_SOURCE) && !defined(__386BSD__) ++#if !defined(SYSV) && !defined(SVR4_0) && !defined(_POSIX_SOURCE) && !defined(__386BSD__) && !defined(__FreeBSD__) + union wait w_stat; /* I'm not sure about the SYSV bit... */ + #else + int w_stat; +@@ -1843,7 +1843,7 @@ + extern String cwd; + + int pid; +-#if !defined(SYSV) && !defined(SVR4_0) && !defined(_POSIX_SOURCE) ++#if !defined(SYSV) && !defined(SVR4_0) && !defined(_POSIX_SOURCE) && !defined(__FreeBSD__) + union wait status; + #else + int status; |