[Pkg-net-snmp-commits] [SCM] Git repository for pkg-net-snmp branch, master, updated. edfdd032767b89aa50b401b9fdb73fd5e022ab72

Hideki Yamane henrich at debian.org
Thu Apr 11 01:24:05 UTC 2013


The following commit has been merged in the master branch:
commit 9c90d287bee24712eabc1c1175afc13db1ccb30a
Author: Michael Banck <mbanck at debian.org>
Date:   Sat Nov 24 13:30:51 2012 +0100

    Imported Debian patch 5.4.3~dfsg-2.7

diff --git a/debian/changelog b/debian/changelog
index 3fcf33a..bb2dce8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+net-snmp (5.4.3~dfsg-2.7) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches/27_kfreebsd_bug625985.patch: New patch, fix build error on
+    kfreebsd-*, by Steven Chamberlain (closes: #625985).
+
+ -- Michael Banck <mbanck at debian.org>  Sat, 24 Nov 2012 13:30:51 +0100
+
 net-snmp (5.4.3~dfsg-2.6) unstable; urgency=low
 
   * Non-maintainer upload.
diff --git a/debian/patches/27_kfreebsd_bug625985.patch b/debian/patches/27_kfreebsd_bug625985.patch
new file mode 100644
index 0000000..37e512f
--- /dev/null
+++ b/debian/patches/27_kfreebsd_bug625985.patch
@@ -0,0 +1,18 @@
+Index: net-snmp-5.4.3~dfsg/agent/mibgroup/hardware/memory/memory_freebsd.c
+===================================================================
+--- net-snmp-5.4.3~dfsg.orig/agent/mibgroup/hardware/memory/memory_freebsd.c	2008-05-28 12:48:46.000000000 +0100
++++ net-snmp-5.4.3~dfsg/agent/mibgroup/hardware/memory/memory_freebsd.c	2012-11-20 22:23:34.693203872 +0000
+@@ -205,11 +205,12 @@
+ 
+ #include <sys/conf.h>
+ 
++kvm_t   *kd = NULL;
++
+ int
+ swapmode(long pagesize)
+ {
+     int             i, n;
+-    static kvm_t   *kd = NULL;
+     struct kvm_swap kswap[16];
+     netsnmp_memory_info *mem;
+     char buf[1024];
diff --git a/debian/patches/series b/debian/patches/series
index 3628693..ee92653 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,6 +6,7 @@
 08_defaultconfig.patch
 25_duplicate_iftable.patch
 26_kfreebsd.patch
+27_kfreebsd_bug625985.patch 
 32_mnttab_path.patch
 44_nlist_kvm.patch
 56_manpage.patch

-- 
Git repository for pkg-net-snmp



More information about the Pkg-net-snmp-commits mailing list