c9c8f97e88
- Depend on the latest version of xview-config - Mark as LICENSE sun-openlook-license - Bump pkgrevision
32 lines
781 B
Text
32 lines
781 B
Text
$NetBSD: patch-bp,v 1.2 2009/12/10 20:35:57 abs Exp $
|
|
|
|
--- lib/libxview/misc/expandname.c.orig 1993-06-29 05:16:30.000000000 +0000
|
|
+++ lib/libxview/misc/expandname.c
|
|
@@ -23,6 +23,9 @@ static char sccsid[] = "@(#)expandna
|
|
#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 @@ static char sccsid[] = "@(#)expandna
|
|
#include <vfork.h>
|
|
#endif SVR4
|
|
#endif
|
|
+#endif
|
|
|
|
#ifdef SVR4
|
|
#include <sys/signal.h>
|
|
@@ -120,7 +124,9 @@ xv_expand_name(name)
|
|
}
|
|
(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
|