aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-03-30 18:24:04 +0800
committerknu <knu@FreeBSD.org>2002-03-30 18:24:04 +0800
commit78910ba4077854c2d0e05707a7eb364eaa785cc6 (patch)
tree99137e49a74932960b6f1f31d11857df9b93fd60 /net-mgmt
parentf5d00b6407a8223a176ebde1a4bc2f9552b8207a (diff)
downloadfreebsd-ports-graphics-78910ba4077854c2d0e05707a7eb364eaa785cc6.tar.gz
freebsd-ports-graphics-78910ba4077854c2d0e05707a7eb364eaa785cc6.tar.zst
freebsd-ports-graphics-78910ba4077854c2d0e05707a7eb364eaa785cc6.zip
Add #include <netinet/in.h> and unbreak for CURRENT.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/ruby-snmp/files/patch-mib.c9
-rw-r--r--net-mgmt/ruby-snmp/files/patch-snmp.c9
2 files changed, 18 insertions, 0 deletions
diff --git a/net-mgmt/ruby-snmp/files/patch-mib.c b/net-mgmt/ruby-snmp/files/patch-mib.c
new file mode 100644
index 00000000000..48eea59ab40
--- /dev/null
+++ b/net-mgmt/ruby-snmp/files/patch-mib.c
@@ -0,0 +1,9 @@
+--- mib.c.orig Mon Jul 10 19:18:51 2000
++++ mib.c Sat Mar 30 19:15:41 2002
+@@ -1,4 +1,6 @@
+ #include <sys/types.h>
++#include <netinet/in.h>
++
+ #ifdef HAVE_UCD_SNMP_TOOLS_H
+ #include <ucd-snmp/tools.h>
+ #endif
diff --git a/net-mgmt/ruby-snmp/files/patch-snmp.c b/net-mgmt/ruby-snmp/files/patch-snmp.c
new file mode 100644
index 00000000000..248dc2a04db
--- /dev/null
+++ b/net-mgmt/ruby-snmp/files/patch-snmp.c
@@ -0,0 +1,9 @@
+--- snmp.c.orig Mon Jul 10 19:18:51 2000
++++ snmp.c Sat Mar 30 19:15:26 2002
+@@ -1,5 +1,6 @@
+ #include <errno.h>
+ #include <sys/types.h>
++#include <netinet/in.h>
+
+ #ifdef HAVE_UCD_SNMP_TOOLS_H
+ #include <ucd-snmp/tools.h>