Control: tags -1 + patch Hi,
the attached patch fixes the FTBFS with gcc9 by moving the linked libraries to the end of the commandline. Regards, Reiner
diff -Nru wireless-tools-30~pre9/debian/patches/gcc9.patch wireless-tools-30~pre9/debian/patches/gcc9.patch --- wireless-tools-30~pre9/debian/patches/gcc9.patch 1970-01-01 01:00:00.000000000 +0100 +++ wireless-tools-30~pre9/debian/patches/gcc9.patch 2019-08-23 11:43:45.000000000 +0200 @@ -0,0 +1,15 @@ +Author: Reiner Herrmann <rei...@reiner-h.de> +Description: Fix build with gcc9 by moving linked libraries to the end +Bug-Debian: https://bugs.debian.org/925857 + +--- a/Makefile ++++ b/Makefile +@@ -150,7 +150,7 @@ + + # Compilation of the dynamic library + $(DYNAMIC): $(OBJS:.o=.so) +- $(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) $(LDFLAGS) -lc $^ ++ $(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LDFLAGS) $^ -lc $(LIBS) + + # Compilation of the static library + $(STATIC): $(OBJS:.o=.so) diff -Nru wireless-tools-30~pre9/debian/patches/series wireless-tools-30~pre9/debian/patches/series --- wireless-tools-30~pre9/debian/patches/series 2018-06-05 21:29:11.000000000 +0200 +++ wireless-tools-30~pre9/debian/patches/series 2019-08-23 11:43:45.000000000 +0200 @@ -5,3 +5,4 @@ add-import-type-to-udev-rules fix-typos improve-make-install +gcc9.patch
signature.asc
Description: PGP signature