summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoragc <agc>1998-03-10 21:40:32 +0000
committeragc <agc>1998-03-10 21:40:32 +0000
commit4ef781830f265e96dcf2674f761811c891650686 (patch)
tree03a808463cbfa5f060a4d79d53bde7b2a447cc1f /devel
parent9713a51e09644d83aee9a35d6a3b2bde744dea32 (diff)
downloadpkgsrc-4ef781830f265e96dcf2674f761811c891650686.tar.gz
Patch from Uwe Arndt to define fstat13.
Diffstat (limited to 'devel')
-rw-r--r--devel/mit-pthreads/patches/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/mit-pthreads/patches/patch-aa b/devel/mit-pthreads/patches/patch-aa
index 43ebe770177..169b0bfdab1 100644
--- a/devel/mit-pthreads/patches/patch-aa
+++ b/devel/mit-pthreads/patches/patch-aa
@@ -101,3 +101,25 @@ Note that the context for this next patch is set to 2, to avoid the Id line
--- 1,2 ----
+ major=1
+ minor=60
+--- machdep/syscall-i386-netbsd-1.1.S 1998/03/09 00:14:35 1.1
++++ machdep/syscall-i386-netbsd-1.1.S 1998/03/09 00:16:17
+@@ -160,3 +160,19 @@
+ xorl %eax,%eax
+ ret
+
++
++/* ==========================================================================
++ * machdep_sys_fstat()
++ */
++ .globl _machdep_sys_fstat;
++
++_machdep_sys_fstat:;
++
++ movl $(SYS___fstat13), %eax;
++ .byte 0x9a; .long 0; .word 7;
++ cmpl $0, %edx
++ je 2f
++ movl $0, %eax
++2:
++ ret
++