diff options
author | tron <tron> | 2001-12-20 09:19:53 +0000 |
---|---|---|
committer | tron <tron> | 2001-12-20 09:19:53 +0000 |
commit | 466ed08f5827f779c8d246edcb727f46e89de431 (patch) | |
tree | 4f262d25e837db12d2b8bd96b651b1c07c0cad61 /x11/xview-lib/patches/patch-bp | |
parent | 9f677650638e78da433bbf2a651032f5515999b3 (diff) | |
download | pkgsrc-466ed08f5827f779c8d246edcb727f46e89de431.tar.gz |
Cleanup patch files:
- unified format
- only one patch per file
- no files gets patched twice
Diffstat (limited to 'x11/xview-lib/patches/patch-bp')
-rw-r--r-- | x11/xview-lib/patches/patch-bp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/x11/xview-lib/patches/patch-bp b/x11/xview-lib/patches/patch-bp new file mode 100644 index 00000000000..6c43b5caa60 --- /dev/null +++ b/x11/xview-lib/patches/patch-bp @@ -0,0 +1,32 @@ +$NetBSD: patch-bp,v 1.1 2001/12/20 09:19:59 tron Exp $ + +--- lib/libxview/misc/expandname.c.orig Tue Jun 29 07:16:30 1993 ++++ lib/libxview/misc/expandname.c Thu Dec 20 10:09:49 2001 +@@ -23,6 +23,9 @@ + #include <string.h> + #include <sgtty.h> + ++#if defined(BSD) && (BSD >= 199306) ++#include <unistd.h> ++#else + #ifdef sparc + #ifdef SVR4 + #include <unistd.h> +@@ -30,6 +33,7 @@ + #include <vfork.h> + #endif SVR4 + #endif ++#endif + + #ifdef SVR4 + #include <sys/signal.h> +@@ -120,7 +124,9 @@ + } + (void) close(pivec[0]); + #ifndef SVR4 ++#if !(defined(BSD) && (BSD >= 199103)) + while (wait((union wait *) & status) != pid); ++#endif + #else SVR4 + while (wait( & status) != pid); + #endif SVR4 |