summaryrefslogtreecommitdiff
path: root/net/ucd-snmp
diff options
context:
space:
mode:
authoragc <agc>2001-03-14 10:29:42 +0000
committeragc <agc>2001-03-14 10:29:42 +0000
commitc4d36a6d8478956cf585345e6941bb721ce2edfb (patch)
tree7c45ddfa46da6cd7997b906aabfec29bdff2ac8d /net/ucd-snmp
parentf02bcc7232d85d26b966a8fc611eea9756f9440e (diff)
downloadpkgsrc-c4d36a6d8478956cf585345e6941bb721ce2edfb.tar.gz
A very dirty workaround to a compilation problem on NetBSD hosts caused by
configure script problems.
Diffstat (limited to 'net/ucd-snmp')
-rw-r--r--net/ucd-snmp/files/patch-sum19
-rw-r--r--net/ucd-snmp/patches/patch-ai23
2 files changed, 33 insertions, 9 deletions
diff --git a/net/ucd-snmp/files/patch-sum b/net/ucd-snmp/files/patch-sum
index 065668dd7d6..6632029d7f5 100644
--- a/net/ucd-snmp/files/patch-sum
+++ b/net/ucd-snmp/files/patch-sum
@@ -1,10 +1,11 @@
-$NetBSD: patch-sum,v 1.12 2001/03/05 19:06:57 wiz Exp $
+$NetBSD: patch-sum,v 1.13 2001/03/14 10:29:42 agc Exp $
-MD5 (patch-aa) = e5098dc2101d73994f9826284a5984a9
-MD5 (patch-ab) = 3a748ac3b5ad6148ee5db35e4e5a7e6c
-MD5 (patch-ac) = 3ff9d693d5560fa4442c8f59599af2a0
-MD5 (patch-ad) = e25de5b48c6a1ca959cf6ff5b8fe1e1b
-MD5 (patch-ae) = 7beb8b4cf814851804d5186336c4b4a7
-MD5 (patch-af) = d362de0f428d0891d01b3bb34750f38e
-MD5 (patch-ag) = 223f958d3a37d02d997eaa2fd0980160
-MD5 (patch-ah) = bab0731852a04964e9d60ffb7c0f704d
+SHA1 (patch-aa) = 42e29fb9d367e2d6fa4dc732029318cdeaab2f49
+SHA1 (patch-ab) = 8a84b33f725d63747c82f6ac983a72cea5fde8f2
+SHA1 (patch-ac) = 15553340d44a165b204bf4173e92544a807a99a6
+SHA1 (patch-ad) = 9783298ad1f0f5f9dd26b70e0f02489b6a528111
+SHA1 (patch-ae) = e42a4771cb1b657a8d991b3e55e947ba035cbeb1
+SHA1 (patch-af) = f852a27fa97b0eb2df2c1a4cd4b543dbfa338056
+SHA1 (patch-ag) = 0fb036f17a32862939ec9bd02d1a264aed6fd198
+SHA1 (patch-ah) = 6e93ab2ca5bce53fa72c2393de8357da0670a9b1
+SHA1 (patch-ai) = c82a49f494c4f119a15e58e9848db1589edadcbf
diff --git a/net/ucd-snmp/patches/patch-ai b/net/ucd-snmp/patches/patch-ai
new file mode 100644
index 00000000000..64c432e808b
--- /dev/null
+++ b/net/ucd-snmp/patches/patch-ai
@@ -0,0 +1,23 @@
+$NetBSD: patch-ai,v 1.1 2001/03/14 10:29:42 agc Exp $
+
+A very quick and dirty workaround to an autoconf problem.
+
+The GNU configure script gets the HAVE_SYS_DISKLABEL_H wrong on NetBSD
+systems after January 2001, since the inclusion of <sys/disklabel.h>
+will only compile cleanly if <sys/types.h> has been included
+previously, which the configure script doesn't do. Hence
+HAVE_SYS_DISKLABEL_H goes undefined.
+
+For now, make it work on NetBSD.
+
+--- agent/mibgroup/host/hr_disk.c 2001/03/14 10:20:40 1.1
++++ agent/mibgroup/host/hr_disk.c 2001/03/14 10:21:00
+@@ -41,7 +41,7 @@
+ #if HAVE_LINUX_HDREG_H
+ #include <linux/hdreg.h>
+ #endif
+-#if HAVE_SYS_DISKLABEL_H
++#if defined(__NetBSD__) || HAVE_SYS_DISKLABEL_H
+ #define DKTYPENAMES
+ #include <sys/disklabel.h>
+ #endif