summaryrefslogtreecommitdiff
path: root/user/heirloom-devtools/make-no-rpc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/heirloom-devtools/make-no-rpc.patch')
-rw-r--r--user/heirloom-devtools/make-no-rpc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/heirloom-devtools/make-no-rpc.patch b/user/heirloom-devtools/make-no-rpc.patch
new file mode 100644
index 000000000..d80dd05dc
--- /dev/null
+++ b/user/heirloom-devtools/make-no-rpc.patch
@@ -0,0 +1,12 @@
+--- heirloom-devtools-070527/make/src/pmake.cc.old 2007-01-18 09:34:13.000000000 -0600
++++ heirloom-devtools-070527/make/src/pmake.cc 2017-12-12 04:21:31.058974256 -0600
+@@ -46,7 +46,9 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/utsname.h>
++#ifdef _sun
+ #include <rpc/rpc.h> /* host2netname(), netname2host() */
++#endif
+ #include <unistd.h> /* getdomainname() */
+
+ /*