summaryrefslogtreecommitdiff
path: root/devel/unproven-pthreads/patches/patch-at
diff options
context:
space:
mode:
Diffstat (limited to 'devel/unproven-pthreads/patches/patch-at')
-rw-r--r--devel/unproven-pthreads/patches/patch-at24
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/unproven-pthreads/patches/patch-at b/devel/unproven-pthreads/patches/patch-at
new file mode 100644
index 00000000000..18c90238c0a
--- /dev/null
+++ b/devel/unproven-pthreads/patches/patch-at
@@ -0,0 +1,24 @@
+$NetBSD: patch-at,v 1.1 2001/04/12 07:53:18 skrll Exp $
+
+--- machdep/syscall-template-sparc-netbsd-1.3.S.orig Thu Apr 12 08:33:16 2001
++++ machdep/syscall-template-sparc-netbsd-1.3.S
+@@ -4,6 +4,7 @@
+ *
+ */
+
++#include <machine/asm.h>
+ #include <sys/syscall.h>
+
+ #ifdef SYS___sigsuspend14
+@@ -14,9 +15,9 @@
+ #endif
+
+ #define SYSCALL(x) \
+- .globl _machdep_sys_##x; \
++ .globl _C_LABEL(machdep_sys_##x); \
+ \
+-_machdep_sys_##x:; \
++_C_LABEL(machdep_sys_##x):; \
+ \
+ mov SYS_##x, %g1; \
+ ta 0; \