summaryrefslogtreecommitdiff
path: root/sysutils/fam/patches/patch-as
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/fam/patches/patch-as')
-rw-r--r--sysutils/fam/patches/patch-as24
1 files changed, 24 insertions, 0 deletions
diff --git a/sysutils/fam/patches/patch-as b/sysutils/fam/patches/patch-as
new file mode 100644
index 00000000000..9bf314217a3
--- /dev/null
+++ b/sysutils/fam/patches/patch-as
@@ -0,0 +1,24 @@
+$NetBSD: patch-as,v 1.4 2004/11/19 12:35:22 sketch Exp $
+
+--- src/RPC_TCP_Connector.c++.orig 2003-01-18 14:18:12.000000000 +0000
++++ src/RPC_TCP_Connector.c++ 2004-11-09 09:44:26.581058000 +0000
+@@ -22,10 +22,19 @@
+
+ #include "RPC_TCP_Connector.h"
+
++#define PORTMAP
++
+ #include <errno.h>
++#ifdef __SUNPRO_CC
++extern "C" {
++#endif
+ #include <rpc/rpc.h>
+ #include <rpc/pmap_prot.h>
++#ifdef __SUNPRO_CC
++}
++#endif
+ #include <sys/ioctl.h>
++#include <sys/filio.h>
+ #include <sys/socket.h>
+ #include <unistd.h>
+ #include <string.h>