summaryrefslogtreecommitdiff
path: root/devel/m4/patches
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2010-07-20 13:40:02 +0000
committertnn <tnn@pkgsrc.org>2010-07-20 13:40:02 +0000
commited3f5e0f74be0e5d77032ec5d16f488f5b897400 (patch)
treed5e9d4c1ce2e7853f53eda8e97fbddbfdb6bec4a /devel/m4/patches
parent06b4049e662fba92feecf192b2ebb0e8692ab2a5 (diff)
downloadpkgsrc-ed3f5e0f74be0e5d77032ec5d16f488f5b897400.tar.gz
Dragonfly PR pkg/43098: Goetz Isenmann: devel/m4 broken
(bustage due to gnulib compat mess)
Diffstat (limited to 'devel/m4/patches')
-rw-r--r--devel/m4/patches/patch-ab23
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/m4/patches/patch-ab b/devel/m4/patches/patch-ab
new file mode 100644
index 00000000000..a0a9c0b225b
--- /dev/null
+++ b/devel/m4/patches/patch-ab
@@ -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) \