diff -Nru etherpuppet-0.3/debian/changelog etherpuppet-0.3/debian/changelog --- etherpuppet-0.3/debian/changelog 2012-04-01 08:23:32.000000000 +0000 +++ etherpuppet-0.3/debian/changelog 2017-04-29 10:56:45.000000000 +0000 @@ -1,3 +1,10 @@ +etherpuppet (0.3-3) unstable; urgency=low + + * Apply upstream fix to make package usable on systems with unsigned + char. Patch from Peter Michael Green. Closes: #861366. + + -- Vincent Bernat Sat, 29 Apr 2017 12:56:45 +0200 + etherpuppet (0.3-2) unstable; urgency=low * Fix "build-arch" target being empty. Closes: #666313. diff -Nru etherpuppet-0.3/debian/patches/fix-char-signedness.patch etherpuppet-0.3/debian/patches/fix-char-signedness.patch --- etherpuppet-0.3/debian/patches/fix-char-signedness.patch 1970-01-01 00:00:00.000000000 +0000 +++ etherpuppet-0.3/debian/patches/fix-char-signedness.patch 2017-04-29 10:56:45.000000000 +0000 @@ -0,0 +1,15 @@ +Description: Apply upstream fix to make package usable on systems with unsigned char. +Author: Peter Michael Green + +--- etherpuppet-0.3.orig/etherpuppet.c ++++ etherpuppet-0.3/etherpuppet.c +@@ -227,7 +227,8 @@ int main(int argc, char *argv[]) + struct sigaction sa; + + +- char c, *p, *ip, *manual_bpf_arg; ++ int c; ++ char *p, *ip, *manual_bpf_arg; + unsigned char buf[MTU+4]; + char *iface = NULL; + fd_set readset; diff -Nru etherpuppet-0.3/debian/patches/series etherpuppet-0.3/debian/patches/series --- etherpuppet-0.3/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ etherpuppet-0.3/debian/patches/series 2017-04-29 10:56:45.000000000 +0000 @@ -0,0 +1 @@ +fix-char-signedness.patch