forked from mirrors/nixpkgs
0afe9d1f70
Always set `SRCTOP`, set it with abs path
llvmPackages: Bump minimum version for FreeBSD
llvmPackages_*, libgcc, compiler_rt: Hack in enough libs that one can compiler C
freebsd.compat: Rename some things to work around cc-wrapper change
0bea4a194f
/ #191724 in particular
16 lines
356 B
Diff
16 lines
356 B
Diff
--- a/usr.bin/rpcgen/rpc_scan.c
|
|
+++ b/usr.bin/rpcgen/rpc_scan.c
|
|
@@ -43,8 +43,12 @@ __FBSDID("$FreeBSD$");
|
|
*/
|
|
|
|
#include <sys/types.h>
|
|
|
|
+// glibc + compat is broken from silly indirect header guard
|
|
+#define _SYS_WAIT_H
|
|
+# include <bits/waitflags.h>
|
|
+#undef _SYS_WAIT_H
|
|
#include <sys/wait.h>
|
|
#include <stdio.h>
|
|
#include <ctype.h>
|
|
#include <string.h>
|