From 2167b7fae70d491531acdc254e364179334a3f8f Mon Sep 17 00:00:00 2001 From: agc Date: Tue, 10 Mar 1998 21:40:32 +0000 Subject: Patch from Uwe Arndt to define fstat13. --- devel/mit-pthreads/patches/patch-aa | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 ++ -- cgit v1.2.3