Control: tags -1 + patch Hi,
the attached patch fixes the FTBFS with GCC 10. Regards, -- Luis Paulo (lpfll)
diff -Nru ifplugd-0.28/debian/patches/09_fix-ftbfs-with-gcc10.patch ifplugd-0.28/debian/patches/09_fix-ftbfs-with-gcc10.patch --- ifplugd-0.28/debian/patches/09_fix-ftbfs-with-gcc10.patch 1969-12-31 21:00:00.000000000 -0300 +++ ifplugd-0.28/debian/patches/09_fix-ftbfs-with-gcc10.patch 2020-08-06 19:46:15.000000000 -0300 @@ -0,0 +1,17 @@ +Description: Fix FTBFS with GCC 10. +Author: Luis Paulo Linares <lpfllina...@gmail.com> +Bug-Debian: https://bugs.debian.org/957355 + +--- ifplugd-0.28.orig/src/interface.h ++++ ifplugd-0.28/src/interface.h +@@ -24,8 +24,8 @@ + /* From <linux/if_ether.h> */ + #define ETH_ALEN 6 + +-int interface_auto_up; +-int interface_do_message; ++extern int interface_auto_up; ++extern int interface_do_message; + + typedef enum { IFSTATUS_UP, IFSTATUS_DOWN, IFSTATUS_ERR } interface_status_t; + diff -Nru ifplugd-0.28/debian/patches/series ifplugd-0.28/debian/patches/series --- ifplugd-0.28/debian/patches/series 2018-06-23 07:22:26.000000000 -0300 +++ ifplugd-0.28/debian/patches/series 2020-08-06 19:46:15.000000000 -0300 @@ -6,3 +6,4 @@ 06_509015_better_delays.patch 07_add_fractional_delays.patch 08_allow_ipv4_less.patch +09_fix-ftbfs-with-gcc10.patch