Step 2: base dep: devel/bison

This commit is contained in:
Lionel Sambuc 2014-04-17 10:58:15 +02:00 committed by Lionel Sambuc
parent 81f03528b0
commit 87b0bbd699
2 changed files with 18 additions and 0 deletions

View File

@ -7,3 +7,4 @@ Size (bison-3.0.4.tar.xz) = 1973796 bytes
SHA1 (patch-data_glr.c) = a2e0900ed995e4320e80f8ed05eae8e82be50502
SHA1 (patch-lib_isnan.c) = 5b44fc6e2e97e36f91cd784bf3a38ad459fccdab
SHA1 (patch-lib_stdio.in.h) = bb793f0c8f56c3a838609f8a86cf5afc70420da8
SHA1 (patch-zz-minix-a) = f1786ef240b894af886af84ecb1c9bdb21279208

View File

@ -0,0 +1,17 @@
$NetBSD$
--- lib/spawni.c.orig Mon Apr 8 09:18:57 2013
+++ lib/spawni.c
@@ -223,10 +223,12 @@ __spawni (pid_t *pid, const char *file,
}
#endif
+#ifndef __minix
/* Set the process group ID. */
if ((flags & POSIX_SPAWN_SETPGROUP) != 0
&& setpgid (0, attrp->_pgrp) != 0)
_exit (SPAWN_ERROR);
+#endif
/* Set the effective user and group IDs. */
if ((flags & POSIX_SPAWN_RESETIDS) != 0