diff options
author | joerg <joerg@pkgsrc.org> | 2008-09-18 13:40:10 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-09-18 13:40:10 +0000 |
commit | b35ef6ce2f015f84779d6bd67d3d64347fd57340 (patch) | |
tree | 701a9ce18686231e52a17d1a105b47282ef54b1e /net/net-snmp | |
parent | bc21fd938364b916def33604258660f3857854d4 (diff) | |
download | pkgsrc-b35ef6ce2f015f84779d6bd67d3d64347fd57340.tar.gz |
Fix build on DragonFly. From PR 39566.
Diffstat (limited to 'net/net-snmp')
-rw-r--r-- | net/net-snmp/distinfo | 3 | ||||
-rw-r--r-- | net/net-snmp/patches/patch-df | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/net/net-snmp/distinfo b/net/net-snmp/distinfo index b514013e54d..56b866022e1 100644 --- a/net/net-snmp/distinfo +++ b/net/net-snmp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.49 2008/09/08 12:58:09 adam Exp $ +$NetBSD: distinfo,v 1.50 2008/09/18 13:40:10 joerg Exp $ SHA1 (net-snmp-5.4.2.tar.gz) = 5b69da7d60bbc1092b61992f2d9ccb1051377ec6 RMD160 (net-snmp-5.4.2.tar.gz) = 8c0cfd259893023c2c98fa68746adb48555d7788 @@ -21,6 +21,7 @@ SHA1 (patch-db) = bec0bee1860ee42ba64b4c07df2280e206eaf582 SHA1 (patch-dc) = 3f668032cbef42b44ee908b3c973af619ce0a689 SHA1 (patch-dd) = 08da0d1da485959549ac461e5cbb7030f800e643 SHA1 (patch-de) = b505cef8542b30b3d28f5b3e61c473076e242d24 +SHA1 (patch-df) = 2509d2dbf4fab3174e7719fa260505961dbbd352 SHA1 (patch-dg) = 6e6e396add0613dd76e3b8618008a7ebf8103c7c SHA1 (patch-dh) = c9a776d6574df008adae52a2f08930e0662f70b3 SHA1 (patch-di) = e0e1039c1adbf10ae56c50998ff74b39193e7348 diff --git a/net/net-snmp/patches/patch-df b/net/net-snmp/patches/patch-df new file mode 100644 index 00000000000..2f5e450b7a4 --- /dev/null +++ b/net/net-snmp/patches/patch-df @@ -0,0 +1,20 @@ +$NetBSD: patch-df,v 1.3 2008/09/18 13:40:10 joerg Exp $ + +--- agent/mibgroup/hardware/cpu.h.orig 2008-09-16 15:31:44 +0300 ++++ agent/mibgroup/hardware/cpu.h 2008-09-16 15:12:05 +0300 +@@ -12,12 +12,12 @@ config_require(hardware/cpu/cpu_pcp) + #elif defined(irix6) + config_require(hardware/cpu/cpu_sysinfo) + ++#elif (defined(freebsd2) || defined(freebsd3) || defined(dragonfly)) ++config_require(hardware/cpu/cpu_nlist) ++ + #elif (defined(netbsd) || defined(netbsd1) || defined(netbsdelf) || defined(netbsdelf2)|| defined(netbsdelf3) || defined(openbsd2) || defined(openbsd3) || defined(openbsd4) || defined(freebsd4) || defined(freebsd5) || defined(freebsd6)) + config_require(hardware/cpu/cpu_sysctl) + +-#elif (defined(freebsd2) || defined(freebsd3)) +-config_require(hardware/cpu/cpu_nlist) +- + #elif (defined(aix4) || defined(aix5) || defined(aix6)) + config_require(hardware/cpu/cpu_perfstat) + |