mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
- Fix build on sparc64
Reported by: krismail Approved by: portmgr (kris)
This commit is contained in:
parent
3438ac725b
commit
756b8b9d92
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140917
@ -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
|
||||
|
16
x11-toolkits/xview/files/patch-lib+libxview+wmgr+wmgr_menu.c
Normal file
16
x11-toolkits/xview/files/patch-lib+libxview+wmgr+wmgr_menu.c
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user