summaryrefslogtreecommitdiff
path: root/devel/bison
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2010-07-20 13:57:28 +0000
committertnn <tnn@pkgsrc.org>2010-07-20 13:57:28 +0000
commita69c003233613b0e54422d9f470a7a13ee2918bc (patch)
treea794247573896e86f6af2153772ca3e49f075126 /devel/bison
parented3f5e0f74be0e5d77032ec5d16f488f5b897400 (diff)
downloadpkgsrc-a69c003233613b0e54422d9f470a7a13ee2918bc.tar.gz
Dragonfly PR pkg/43285
Same issue as PR pkg/43098 for devel/m4
Diffstat (limited to 'devel/bison')
-rw-r--r--devel/bison/Makefile3
-rw-r--r--devel/bison/distinfo3
-rw-r--r--devel/bison/patches/patch-ab23
3 files changed, 27 insertions, 2 deletions
diff --git a/devel/bison/Makefile b/devel/bison/Makefile
index 9e524581a7f..07732aa49b2 100644
--- a/devel/bison/Makefile
+++ b/devel/bison/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.73 2010/05/02 10:41:52 wiz Exp $
+# $NetBSD: Makefile,v 1.74 2010/07/20 13:57:28 tnn Exp $
DISTNAME= bison-2.4.2
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=bison/}
EXTRACT_SUFX= .tar.bz2
diff --git a/devel/bison/distinfo b/devel/bison/distinfo
index 124e74c461a..4ff5002e193 100644
--- a/devel/bison/distinfo
+++ b/devel/bison/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.22 2010/05/02 10:41:52 wiz Exp $
+$NetBSD: distinfo,v 1.23 2010/07/20 13:57:28 tnn Exp $
SHA1 (bison-2.4.2.tar.bz2) = 4e2c4b40a248748989b3fe7f0d89022ea11a8d6f
RMD160 (bison-2.4.2.tar.bz2) = bc72359a93ad36ae60e8027d846211cb99634d93
Size (bison-2.4.2.tar.bz2) = 1616117 bytes
SHA1 (patch-aa) = dbc64816b60aebba81125aea0cdc8bb648aa114f
+SHA1 (patch-ab) = 2df283693aed686e13af2a2c48786b56e437c3b9
diff --git a/devel/bison/patches/patch-ab b/devel/bison/patches/patch-ab
new file mode 100644
index 00000000000..279bd0b05b7
--- /dev/null
+++ b/devel/bison/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.8 2010/07/20 13:57:28 tnn Exp $
+
+Dragonfly PR pkg/43285
+Same issue as PR pkg/43098 for devel/m4
+
+--- lib/spawn.in.h.orig 2010-03-17 19:17:04.000000000 +0000
++++ lib/spawn.in.h
+@@ -110,6 +110,7 @@ typedef struct
+
+
+ /* Flags to be set in the `posix_spawnattr_t'. */
++#if !@HAVE_POSIX_SPAWN@
+ #if @REPLACE_POSIX_SPAWN@
+ /* Use the values from the system, for better compatibility. */
+ /* But this implementation does not support AIX extensions. */
+@@ -122,6 +123,7 @@ typedef struct
+ # define POSIX_SPAWN_SETSCHEDPARAM 0x10
+ # define POSIX_SPAWN_SETSCHEDULER 0x20
+ #endif
++#endif
+ /* A GNU extension. Use the next free bit position. */
+ #define POSIX_SPAWN_USEVFORK \
+ ((POSIX_SPAWN_RESETIDS | (POSIX_SPAWN_RESETIDS - 1) \