summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-05-08 12:59:37 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-05-08 12:59:37 +0000
commit96e7e794bb725a68e5731a825c5c332aedab733e (patch)
tree3faa4139fc0b7914dc96af6e0c901c36fb717d60 /net
parentNew port: xrally (diff)
unbreak build on sparc64 (remove NOT_FOR_ARCH)
Tested on: panther
Notes
Notes: svn path=/head/; revision=134855
Diffstat (limited to 'net')
-rw-r--r--net/arla/Makefile1
-rw-r--r--net/arla/files/patch-lwp::process.sparc.S16
2 files changed, 16 insertions, 1 deletions
diff --git a/net/arla/Makefile b/net/arla/Makefile
index 1ab82b8648de..e2d27cd9864d 100644
--- a/net/arla/Makefile
+++ b/net/arla/Makefile
@@ -17,7 +17,6 @@ USE_XLIB= yes
USE_RC_SUBR= arla.sh
USE_INC_LIBTOOL_VER=15
INSTALLS_SHLIB= yes
-NOT_FOR_ARCH= sparc64
.if !exists(/usr/src/sys/kern/vnode_if.src)
IGNORE= requires kernel source
diff --git a/net/arla/files/patch-lwp::process.sparc.S b/net/arla/files/patch-lwp::process.sparc.S
new file mode 100644
index 000000000000..e4b5cd20ffef
--- /dev/null
+++ b/net/arla/files/patch-lwp::process.sparc.S
@@ -0,0 +1,16 @@
+--- lwp/process.sparc.S.orig Sun May 8 12:22:07 2005
++++ lwp/process.sparc.S Sun May 8 12:21:15 2005
+@@ -30,6 +30,13 @@
+ #endif
+
+
++#if !defined(ST_FLUSHWIN)
++#if !defined(T_FLUSHWIN)
++#define T_FLUSHWIN 0x83 /* flush windows */
++#endif
++#define ST_FLUSHWIN (T_FLUSHWIN & 0x7f)
++#endif
++
+ #if defined(AFS_SUN5_ENV)
+ #include <sys/asm_linkage.h>
+ #include <sys/trap.h>