diff options
Diffstat (limited to 'x11-toolkits/xview/files/patch-lib+libxview+misc+expandname.c')
-rw-r--r-- | x11-toolkits/xview/files/patch-lib+libxview+misc+expandname.c | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/x11-toolkits/xview/files/patch-lib+libxview+misc+expandname.c b/x11-toolkits/xview/files/patch-lib+libxview+misc+expandname.c index 528c2b720888..98efb48cdc55 100644 --- a/x11-toolkits/xview/files/patch-lib+libxview+misc+expandname.c +++ b/x11-toolkits/xview/files/patch-lib+libxview+misc+expandname.c @@ -1,28 +1,12 @@ ---- lib/libxview/misc/expandname.c.orig Tue Jun 29 07:16:30 1993 -+++ lib/libxview/misc/expandname.c Fri Aug 19 15:53:44 2005 -@@ -21,15 +21,6 @@ - #include <sys/wait.h> - #include <stdio.h> - #include <string.h> --#include <sgtty.h> -- --#ifdef sparc --#ifdef SVR4 --#include <unistd.h> --#else --#include <vfork.h> --#endif SVR4 --#endif - - #ifdef SVR4 - #include <sys/signal.h> -@@ -120,7 +111,9 @@ +--- lib/libxview/misc/expandname.c.orig 2005-03-28 06:41:36.000000000 -0800 ++++ lib/libxview/misc/expandname.c 2012-02-02 20:25:52.508626867 -0800 +@@ -122,7 +122,9 @@ } (void) close(pivec[0]); #ifndef SVR4 +#if !(defined(BSD) && (BSD >= 199103)) while (wait((union wait *) & status) != pid); +#endif - #else SVR4 + #else /* SVR4 */ while (wait( & status) != pid); - #endif SVR4 + #endif /* SVR4 */ |