[Pkg-fcoe-general] Bug#790647: FTBFS with GCC 5: inline function 'get_prio_map' declared but never defined
Matthias Klose
doko at debian.org
Sat Jul 25 12:03:48 UTC 2015
Control: tags -1 + patch pending
attaching patch, and uploading to delayed.
-------------- next part --------------
diff -Nru lldpad-0.9.46/debian/changelog lldpad-0.9.46/debian/changelog
--- lldpad-0.9.46/debian/changelog 2014-10-25 03:29:29.000000000 +0200
+++ lldpad-0.9.46/debian/changelog 2015-07-25 13:55:30.000000000 +0200
@@ -1,3 +1,11 @@
+lldpad (0.9.46-3.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Build with -fgnu89-inline, fix build errors with new warnings.
+ Closes: #790647.
+
+ -- Matthias Klose <doko at debian.org> Sat, 25 Jul 2015 13:35:05 +0200
+
lldpad (0.9.46-3) unstable; urgency=low
* Added myself as a maintainer of this package.
diff -Nru lldpad-0.9.46/debian/patches/gcc5.diff lldpad-0.9.46/debian/patches/gcc5.diff
--- lldpad-0.9.46/debian/patches/gcc5.diff 1970-01-01 01:00:00.000000000 +0100
+++ lldpad-0.9.46/debian/patches/gcc5.diff 2015-07-25 13:53:28.000000000 +0200
@@ -0,0 +1,22 @@
+Index: b/lldp_util.c
+===================================================================
+--- a/lldp_util.c
++++ b/lldp_util.c
+@@ -1150,7 +1150,7 @@ int check_link_status(const char *ifname
+ int get_arg_val_list(char *ibuf, int ilen, int *ioff,
+ char **args, char **argvals)
+ {
+- u8 arglen;
++ u8 arglen = 0;
+ u16 argvalue_len;
+ int *arglens = NULL;
+ int *argvallens = NULL;
+@@ -1218,7 +1218,7 @@ int get_arg_val_list(char *ibuf, int ile
+
+ int get_arg_list(char *ibuf, int ilen, int *ioff, char **args)
+ {
+- u8 arglen;
++ u8 arglen = 0;
+ int *arglens = NULL;
+ int *p;
+ int numargs;
diff -Nru lldpad-0.9.46/debian/patches/series lldpad-0.9.46/debian/patches/series
--- lldpad-0.9.46/debian/patches/series 2014-10-25 03:29:29.000000000 +0200
+++ lldpad-0.9.46/debian/patches/series 2015-07-25 13:52:03.000000000 +0200
@@ -6,3 +6,4 @@
fix-typo-in-lldptool-ets-8.patch
specify_subdir-objects.patch
use-libnl-3.patch
+gcc5.diff
diff -Nru lldpad-0.9.46/debian/rules lldpad-0.9.46/debian/rules
--- lldpad-0.9.46/debian/rules 2014-10-25 03:29:29.000000000 +0200
+++ lldpad-0.9.46/debian/rules 2015-07-25 13:33:23.000000000 +0200
@@ -2,6 +2,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+export DEB_CFLAGS_MAINT_APPEND = -fgnu89-inline
+
# For Hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
More information about the Pkg-fcoe-general
mailing list