Dragonfly PR pkg/43285 Same issue as PR pkg/43098 for devel/m4diff -r1.73 -r1.74 pkgsrc/devel/bison/Makefile
(tnn)
@@ -1,16 +1,17 @@ | @@ -1,16 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.73 2010/05/02 10:41:52 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.74 2010/07/20 13:57:28 tnn Exp $ | |
2 | 2 | |||
3 | DISTNAME= bison-2.4.2 | 3 | DISTNAME= bison-2.4.2 | |
4 | PKGREVISION= 1 | |||
4 | CATEGORIES= devel | 5 | CATEGORIES= devel | |
5 | MASTER_SITES= ${MASTER_SITE_GNU:=bison/} | 6 | MASTER_SITES= ${MASTER_SITE_GNU:=bison/} | |
6 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
7 | 8 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://www.gnu.org/software/bison/bison.html | 10 | HOMEPAGE= http://www.gnu.org/software/bison/bison.html | |
10 | COMMENT= GNU yacc(1) replacement | 11 | COMMENT= GNU yacc(1) replacement | |
11 | LICENSE= gnu-gpl-v3 | 12 | LICENSE= gnu-gpl-v3 | |
12 | 13 | |||
13 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
14 | PKG_DESTDIR_SUPPORT= user-destdir | 15 | PKG_DESTDIR_SUPPORT= user-destdir | |
15 | 16 | |||
16 | GNU_CONFIGURE= YES | 17 | GNU_CONFIGURE= YES |
@@ -1,6 +1,7 @@ | @@ -1,6 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.22 2010/05/02 10:41:52 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.23 2010/07/20 13:57:28 tnn Exp $ | |
2 | 2 | |||
3 | SHA1 (bison-2.4.2.tar.bz2) = 4e2c4b40a248748989b3fe7f0d89022ea11a8d6f | 3 | SHA1 (bison-2.4.2.tar.bz2) = 4e2c4b40a248748989b3fe7f0d89022ea11a8d6f | |
4 | RMD160 (bison-2.4.2.tar.bz2) = bc72359a93ad36ae60e8027d846211cb99634d93 | 4 | RMD160 (bison-2.4.2.tar.bz2) = bc72359a93ad36ae60e8027d846211cb99634d93 | |
5 | Size (bison-2.4.2.tar.bz2) = 1616117 bytes | 5 | Size (bison-2.4.2.tar.bz2) = 1616117 bytes | |
6 | SHA1 (patch-aa) = dbc64816b60aebba81125aea0cdc8bb648aa114f | 6 | SHA1 (patch-aa) = dbc64816b60aebba81125aea0cdc8bb648aa114f | |
7 | SHA1 (patch-ab) = 2df283693aed686e13af2a2c48786b56e437c3b9 |
$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) \