FWIW, it worked. Here is the dpatch I created:

--- SNIP ---
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_check_dhcp.dpatch by  <aheinl...@gmx.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git'
'--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr'
monitoring-plugins-2.1.1~/plugins-root/check_dhcp.c
monitoring-plugins-2.1.1/plugins-root/check_dhcp.c
--- monitoring-plugins-2.1.1~/plugins-root/check_dhcp.c    2014-12-02
04:36:29.000000000 +0000
+++ monitoring-plugins-2.1.1/plugins-root/check_dhcp.c    2015-05-06
12:19:24.772947737 +0000
@@ -323,7 +323,8 @@
 #elif defined(__bsd__)
                         /* King 2004    see ACKNOWLEDGEMENTS */
 
-        int                     mib[6], len;
+        int                     mib[6];
+        size_t            len;
         char                    *buf;
         unsigned char           *ptr;
         struct if_msghdr        *ifm;
@@ -1182,7 +1183,7 @@
                 }
             }
 
-    return i;
+    return i+1;
         }
 

--- SNIP ---


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to