summaryrefslogtreecommitdiff
path: root/devel/mit-pthreads/patches/patch-aa
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-10-13 11:36:19 +0000
committeragc <agc@pkgsrc.org>1997-10-13 11:36:19 +0000
commit8dcec58019554eec475e64d2fdbb3b7b39f26cbb (patch)
treeb09df2a48ab6e65b44dd9ef1ebe3e1495b2e3dd3 /devel/mit-pthreads/patches/patch-aa
parentc9cecad9882989bfd96da9b5162cf01734c8316b (diff)
downloadpkgsrc-8dcec58019554eec475e64d2fdbb3b7b39f26cbb.tar.gz
Changes from Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de> to:
+ use native make, rather than gmake - this gives us the profiled library, and PIC library too, and also means we can get rid of my previous hacks to specify the correct prefix. + add in support for the system call previously known as getdirentries using getdents(2), if it exists. Note that the patch for this needs 2 lines of context to avoid an Id in the patch file.
Diffstat (limited to 'devel/mit-pthreads/patches/patch-aa')
-rw-r--r--devel/mit-pthreads/patches/patch-aa45
1 files changed, 36 insertions, 9 deletions
diff --git a/devel/mit-pthreads/patches/patch-aa b/devel/mit-pthreads/patches/patch-aa
index 865dad4af32..4c684b54e1a 100644
--- a/devel/mit-pthreads/patches/patch-aa
+++ b/devel/mit-pthreads/patches/patch-aa
@@ -1,11 +1,38 @@
---- config/config.flags.in.orig Fri Mar 22 04:30:01 1996
-+++ config/config.flags.in Fri Oct 10 20:01:53 1997
-@@ -3,7 +3,7 @@
- srctop= @srctop@
- srcfoo= $(srctop)
+--- config/Makefile.in 1997/10/13 10:47:39 1.1
++++ config/Makefile.in 1997/10/13 10:47:51
+@@ -29,7 +29,7 @@
+ # pathname for srcdir here, and live with it.
+ srcdir = $(srctop)
--prefix= @prefix@
-+prefix= @prefix@/pthreads
- exec_prefix= @exec_prefix@
+-beforeinstall:: install-dirs
++beforeinstall: install-dirs
- cpu = @target_cpu@
+ .include "${srcdir}/pthreads/Makefile.inc"
+ .include "${srcdir}/stdlib/Makefile.inc"
+Note that the context for this next patch is set to 2, to avoid the Id line
+- agc
+*** machdep/engine-i386-netbsd-1.0.c 1997/10/13 10:50:59 1.1
+--- machdep/engine-i386-netbsd-1.0.c 1997/10/13 10:53:31
+***************
+*** 42,45 ****
+--- 42,47 ----
+ #endif
+
++
++ #include "config.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
+***************
+*** 217,218 ****
+--- 219,229 ----
+ }
+
++ #if defined(HAVE_SYSCALL_GETDENTS)
++ /* ==========================================================================
++ * machdep_sys_getdirentries()
++ */
++ int machdep_sys_getdirentries(int fd, char * buf, int len, int * seek)
++ {
++ return(machdep_sys_getdents(fd, buf, len));
++ }
++ #endif