summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-bp
diff options
context:
space:
mode:
authortron <tron>2001-12-20 09:19:53 +0000
committertron <tron>2001-12-20 09:19:53 +0000
commit466ed08f5827f779c8d246edcb727f46e89de431 (patch)
tree4f262d25e837db12d2b8bd96b651b1c07c0cad61 /x11/xview-lib/patches/patch-bp
parent9f677650638e78da433bbf2a651032f5515999b3 (diff)
downloadpkgsrc-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-bp32
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