summaryrefslogtreecommitdiff
path: root/x11-toolkits/xview
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-08-18 13:25:52 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-08-18 13:25:52 +0000
commit756b8b9d9235a98c6778af0730c2c1cdb61c8924 (patch)
tree3cacd48e6c6489ca416983e7a4525aebe3052df4 /x11-toolkits/xview
parentUpdate the MASTER_SITES. This is the only part of PR/84815 what was (diff)
- Fix build on sparc64
Reported by: krismail Approved by: portmgr (kris)
Notes
Notes: svn path=/head/; revision=140917
Diffstat (limited to 'x11-toolkits/xview')
-rw-r--r--x11-toolkits/xview/files/patch-lib+libxview+misc+expandname.c25
-rw-r--r--x11-toolkits/xview/files/patch-lib+libxview+wmgr+wmgr_menu.c16
2 files changed, 36 insertions, 5 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 8a2e8bf51324..7c93c1acb0ca 100644
--- a/x11-toolkits/xview/files/patch-lib+libxview+misc+expandname.c
+++ b/x11-toolkits/xview/files/patch-lib+libxview+misc+expandname.c
@@ -1,12 +1,27 @@
---- ./lib/libxview/misc/expandname.c.orig Tue Jun 29 07:16:30 1993
-+++ ./lib/libxview/misc/expandname.c Sat Apr 1 18:25:25 2000
-@@ -120,7 +120,9 @@ xv_expand_name(name)
+--- lib/libxview/misc/expandname.c.orig Thu Aug 18 08:06:28 2005
++++ lib/libxview/misc/expandname.c Thu Aug 18 08:23:13 2005
+@@ -23,14 +23,6 @@
+ #include <string.h>
+ #include <sgtty.h>
+
+-#ifdef sparc
+-#ifdef SVR4
+-#include <unistd.h>
+-#else
+-#include <vfork.h>
+-#endif
+-#endif
+-
+ #ifdef SVR4
+ #include <sys/signal.h>
+ #endif
+@@ -120,7 +112,9 @@
}
(void) close(pivec[0]);
#ifndef SVR4
+#if !(defined(BSD) && (BSD >= 199103))
while (wait((union wait *) & status) != pid);
+#endif
- #else SVR4
+ #else
while (wait( & status) != pid);
- #endif SVR4
+ #endif
diff --git a/x11-toolkits/xview/files/patch-lib+libxview+wmgr+wmgr_menu.c b/x11-toolkits/xview/files/patch-lib+libxview+wmgr+wmgr_menu.c
new file mode 100644
index 000000000000..d3a8a4fdec7b
--- /dev/null
+++ b/x11-toolkits/xview/files/patch-lib+libxview+wmgr+wmgr_menu.c
@@ -0,0 +1,16 @@
+--- lib/libxview/wmgr/wmgr_menu.c.orig Thu Aug 18 08:42:34 2005
++++ lib/libxview/wmgr/wmgr_menu.c Thu Aug 18 08:42:52 2005
+@@ -14,13 +14,6 @@
+ #include <stdio.h>
+ #include <ctype.h>
+ #include <string.h>
+-#ifdef sparc
+-#ifdef SVR4
+-#include <unistd.h>
+-#else
+-#include <vfork.h>
+-#endif
+-#endif
+
+ #include <xview/frame.h>
+ #include <xview/wmgr.h>