summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>1998-03-10 21:40:32 +0000
committeragc <agc>1998-03-10 21:40:32 +0000
commit10411e90734163410da35eb97f078f9281646f97 (patch)
tree03a808463cbfa5f060a4d79d53bde7b2a447cc1f
parent8e1d8fb4cdb65f157ba294dca04dc363a43c216b (diff)
downloadpkgsrc-10411e90734163410da35eb97f078f9281646f97.tar.gz
Patch from Uwe Arndt to define fstat13.
-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
++