- Update to 1.32.1 and adopt patches to the upstream changes - Enable more applets Approved by: krion Differential Revision: https://reviews.freebsd.org/D27934
12 lines
438 B
C
12 lines
438 B
C
--- include/platform.h.orig 2021-01-01 13:30:02 UTC
|
|
+++ include/platform.h
|
|
@@ -319,7 +319,7 @@ typedef unsigned smalluint;
|
|
#endif
|
|
|
|
/* Define bb_setpgrp */
|
|
-#if defined(__digital__) && defined(__unix__)
|
|
+#if (defined(__digital__) && defined(__unix__) || defined(__FreeBSD__))
|
|
/* use legacy setpgrp(pid_t, pid_t) for now. move to platform.c */
|
|
# define bb_setpgrp() do { pid_t __me = getpid(); setpgrp(__me, __me); } while (0)
|
|
#else
|