Dragonfly PR pkg/43098: Goetz Isenmann: devel/m4 broken

(bustage due to gnulib compat mess)
This commit is contained in:
tnn 2010-07-20 13:40:02 +00:00
parent 8a7805e564
commit 2c42f2b804
3 changed files with 27 additions and 2 deletions

View file

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.62 2010/03/18 10:05:48 wiz Exp $
# $NetBSD: Makefile,v 1.63 2010/07/20 13:40:02 tnn Exp $
DISTNAME= m4-1.4.14
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=m4/}

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.29 2010/03/25 04:39:01 jklos Exp $
$NetBSD: distinfo,v 1.30 2010/07/20 13:40:02 tnn Exp $
SHA1 (m4-1.4.14.tar.gz) = 8bf68b7a072d68affaccd281138ec73aca23b954
RMD160 (m4-1.4.14.tar.gz) = 80c6a4a7ac22419777fe2890f05dfaaa5c53f946
Size (m4-1.4.14.tar.gz) = 1509355 bytes
SHA1 (patch-aa) = fc7fc68865763098060ee11f0c13fc57956ec820
SHA1 (patch-ab) = a7cf3e8c6a8f325d8be44d75507dba8df54ba1fa

23
devel/m4/patches/patch-ab Normal file
View file

@ -0,0 +1,23 @@
$NetBSD: patch-ab,v 1.9 2010/07/20 13:40:02 tnn Exp $
DragonFly PR pkg/43098
Upstream supposedly has a better fix for this for the next m4 release.
--- lib/spawn.in.h.orig 2010-01-28 13:04:07.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) \