summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2003-12-30 05:29:45 +0000
committerchristos <christos@pkgsrc.org>2003-12-30 05:29:45 +0000
commit173441eb2372b6c1b149ec7196b9ad29256de4cb (patch)
treea0b2b249b24b1c44a1981e4f9291463e7bb5ea40 /net/net-snmp/patches
parentb6d06d76429686593f49fd89cd5378214200234f (diff)
downloadpkgsrc-173441eb2372b6c1b149ec7196b9ad29256de4cb.tar.gz
- account for in_ifaddr -> in_ifaddrbase in 1.6ZD (I think).
- XXX: whoever ported this needs to revisit it and fix issues such as utmp support etc.
Diffstat (limited to 'net/net-snmp/patches')
-rw-r--r--net/net-snmp/patches/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/net-snmp/patches/patch-ac b/net/net-snmp/patches/patch-ac
new file mode 100644
index 00000000000..e5937158fe9
--- /dev/null
+++ b/net/net-snmp/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2003/12/30 05:29:45 christos Exp $
+
+--- include/net-snmp/system/netbsd.h.orig 2002-04-20 03:30:12.000000000 -0400
++++ include/net-snmp/system/netbsd.h 2003-12-30 00:20:27.000000000 -0500
+@@ -22,6 +22,11 @@
+ #define INP_PREV_SYMBOL inp_queue.cqe_prev
+ #define HAVE_INPCBTABLE 1
+
++#if __NetBSD_Version__ >= 106300000 /* NetBSD 1.6ZD */
++#undef IFADDR_SYMBOL
++#define IFADDR_SYMBOL "in_ifaddrhead"
++#endif
++
+ #define UTMP_FILE _PATH_UTMP
+
+ #ifndef netbsd1