aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/xview
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-08-18 21:25:52 +0800
committerpav <pav@FreeBSD.org>2005-08-18 21:25:52 +0800
commit385ea334663c02a4e28b882541bb8676d38b84a0 (patch)
tree2b86cc02f92b832f5c26f47aa6f1981b3ae683e2 /x11-toolkits/xview
parent0d7612e05c84b452f0960363435cdcefbc2c6e51 (diff)
downloadfreebsd-ports-gnome-385ea334663c02a4e28b882541bb8676d38b84a0.tar.gz
freebsd-ports-gnome-385ea334663c02a4e28b882541bb8676d38b84a0.tar.zst
freebsd-ports-gnome-385ea334663c02a4e28b882541bb8676d38b84a0.zip
- Fix build on sparc64
Reported by: krismail Approved by: portmgr (kris)
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>