diff options
author | skrll <skrll@pkgsrc.org> | 2001-04-12 16:10:32 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2001-04-12 16:10:32 +0000 |
commit | b08fa711b89ef5a72786f1a5ce2b72672c31f593 (patch) | |
tree | 461630e656a60b93bde576539c1ead3a3a4c95e6 /devel | |
parent | f2ff42269fd812d95d19ff6402270d2d895f0fa4 (diff) | |
download | pkgsrc-b08fa711b89ef5a72786f1a5ce2b72672c31f593.tar.gz |
Provide a vfork in libpthread as suggested in pkg/10801.
There is no need to worry about if its called vfork or __vfork14. The
right one will get built. As vfork is not used internally don't worry
about creating a syscall wrapper.
While I'm here remove a completely unnecessary unistd.h that's looks as
though it was for a early version linux.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/unproven-pthreads/Makefile | 5 | ||||
-rw-r--r-- | devel/unproven-pthreads/files/patch-sum | 3 | ||||
-rw-r--r-- | devel/unproven-pthreads/patches/patch-aw | 9 | ||||
-rw-r--r-- | devel/unproven-pthreads/pkg/PLIST | 3 |
4 files changed, 16 insertions, 4 deletions
diff --git a/devel/unproven-pthreads/Makefile b/devel/unproven-pthreads/Makefile index efa9a3a96f4..9db382e4a7a 100644 --- a/devel/unproven-pthreads/Makefile +++ b/devel/unproven-pthreads/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2001/04/12 15:53:30 skrll Exp $ +# $NetBSD: Makefile,v 1.24 2001/04/12 16:10:32 skrll Exp $ # DISTNAME= unproven-pthreads-0.17 @@ -17,6 +17,9 @@ HAS_CONFIGURE= yes MAKE_ENV+= NOLINT=1 NOPROFILE=1 OBJECT_FMT=${OBJECT_FMT} CONFIGURE_ARGS+= --prefix=${PREFIX}/pthreads +post-extract: + @${RM} ${WRKSRC}/include/pthread/unistd.h + pre-install: ${INSTALL_DATA_DIR} ${PREFIX}/pthreads diff --git a/devel/unproven-pthreads/files/patch-sum b/devel/unproven-pthreads/files/patch-sum index 5e49712356b..b3e5934e08f 100644 --- a/devel/unproven-pthreads/files/patch-sum +++ b/devel/unproven-pthreads/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.10 2001/04/12 15:53:30 skrll Exp $ +$NetBSD: patch-sum,v 1.11 2001/04/12 16:10:33 skrll Exp $ SHA1 (patch-aa) = 21955c9af0fd80b6bd939631d79db7225a392ea1 SHA1 (patch-ab) = 870977a372b34eecc44f8e32449e8a2e008b35a1 @@ -22,3 +22,4 @@ SHA1 (patch-as) = e016c3028b44d4ee80b4696bb738b5c6c751cf5b SHA1 (patch-at) = 2a3bffff656bf916a3e399874e8f1fc41219ddc5 SHA1 (patch-au) = b6f05cd5f1e212170fcdbf4a22f36666ba417929 SHA1 (patch-av) = a8186fe8c13f76382566bbdc7232bf7052053e36 +SHA1 (patch-aw) = 8c79c79412210c99429fd4a5460cbb0c15b24e49 diff --git a/devel/unproven-pthreads/patches/patch-aw b/devel/unproven-pthreads/patches/patch-aw new file mode 100644 index 00000000000..9513aac45f3 --- /dev/null +++ b/devel/unproven-pthreads/patches/patch-aw @@ -0,0 +1,9 @@ +$NetBSD: patch-aw,v 1.1 2001/04/12 16:10:33 skrll Exp $ + +--- pthreads/process.c.orig Mon Jul 10 19:23:28 2000 ++++ pthreads/process.c +@@ -45,2 +45,4 @@ + ++#include "config.h" ++ + #ifndef lint diff --git a/devel/unproven-pthreads/pkg/PLIST b/devel/unproven-pthreads/pkg/PLIST index 0cfda4c852c..c5261b3b9a2 100644 --- a/devel/unproven-pthreads/pkg/PLIST +++ b/devel/unproven-pthreads/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2001/01/04 15:10:34 agc Exp $ +@comment $NetBSD: PLIST,v 1.4 2001/04/12 16:10:34 skrll Exp $ pthreads/bin/pgcc pthreads/bin/pg++ pthreads/lib/libpthread.a @@ -24,7 +24,6 @@ pthreads/include/pthread/sleep.h pthreads/include/pthread/specific.h pthreads/include/pthread/state.def pthreads/include/pthread/sysfunc.h -pthreads/include/pthread/unistd.h pthreads/include/pthread/util.h pthreads/include/pthread/version.h pthreads/include/pthread/machdep.h |