diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-26 01:16:02 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-26 01:16:02 +0000 |
commit | 24a46374181088f0b9a6413cada18e3999dcf7a7 (patch) | |
tree | 567bf617a7a32d0a78c5df125622beadede6a0b2 /x11/xdtm | |
parent | 9c233bec4b5a6a2fd86931700f24d630f1187357 (diff) | |
download | freebsd-ports-24a46374181088f0b9a6413cada18e3999dcf7a7.zip |
Fix build on -current (cope with removal of union wait)
Submitted by: mike
Diffstat (limited to 'x11/xdtm')
-rw-r--r-- | x11/xdtm/files/patch-appman.c | 20 |
1 files changed, 20 insertions, 0 deletions
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; |