diff options
author | agc <agc@pkgsrc.org> | 1998-03-10 21:40:32 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1998-03-10 21:40:32 +0000 |
commit | 2167b7fae70d491531acdc254e364179334a3f8f (patch) | |
tree | 03a808463cbfa5f060a4d79d53bde7b2a447cc1f /devel/mit-pthreads | |
parent | 024c78d59643ac6be1fa50ca5c290caa71483068 (diff) | |
download | pkgsrc-2167b7fae70d491531acdc254e364179334a3f8f.tar.gz |
Patch from Uwe Arndt to define fstat13.
Diffstat (limited to 'devel/mit-pthreads')
-rw-r--r-- | devel/mit-pthreads/patches/patch-aa | 22 |
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 ++ |