mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
devel/bison
This commit is contained in:
parent
c516525b99
commit
7aa81ee4fb
17
devel/bison/patches/patch-lib_spawni.c
Normal file
17
devel/bison/patches/patch-lib_spawni.c
Normal 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
|
Loading…
x
Reference in New Issue
Block a user