mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Fix bsd-user build on older head that doesn't have the reaper stuff yet.
PR: 197134 Submitted by: amdmi3
This commit is contained in:
parent
3bf557f33c
commit
f5274058df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378022
11
emulators/qemu-sbruno/files/patch-bsd-user-freebsd-os-proc.c
Normal file
11
emulators/qemu-sbruno/files/patch-bsd-user-freebsd-os-proc.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/bsd-user/freebsd/os-proc.c
|
||||
+++ b/bsd-user/freebsd/os-proc.c
|
||||
@@ -364,7 +364,7 @@ execve_end:
|
||||
#error __FreeBSD_version not defined!
|
||||
#endif
|
||||
|
||||
-#if defined(__FreeBSD_version) && __FreeBSD_version >= 1100000
|
||||
+#if defined(__FreeBSD_version) && __FreeBSD_version >= 1100000 && defined(PROC_REAP_ACQUIRE)
|
||||
|
||||
#include <sys/procctl.h>
|
||||
|
Loading…
Reference in New Issue
Block a user