Package: fbb Version: 7.05f-1 Tags: patch fix build failure with ld --as-needed
diff -Nru fbb-7.05f/debian/changelog fbb-7.05f/debian/changelog --- fbb-7.05f/debian/changelog 2014-08-20 10:24:20.000000000 +0200 +++ fbb-7.05f/debian/changelog 2014-09-03 14:15:00.000000000 +0200 @@ -1,3 +1,10 @@ +fbb (7.05f-1ubuntu1) utopic; urgency=medium + + * Merge with Debian; remainging changes: + - Fix link failure with --as-needed. + + -- Matthias Klose <d...@ubuntu.com> Wed, 03 Sep 2014 14:12:52 +0200 + fbb (7.05f-1) unstable; urgency=medium * Added myself to uploaders @@ -13,6 +20,13 @@ -- Colin Tuckley <col...@debian.org> Wed, 20 Aug 2014 09:23:18 +0100 +fbb (7.04j-8.2ubuntu1) natty; urgency=low + + * src/Makefile: + Move -lncurses to the end of the linker call. + + -- Michael Bienia <ge...@ubuntu.com> Fri, 03 Dec 2010 17:12:09 +0100 + fbb (7.04j-8.2) unstable; urgency=low * Non-maintainer upload. diff -Nru fbb-7.05f/debian/patches/link-as-needed.diff fbb-7.05f/debian/patches/link-as-needed.diff --- fbb-7.05f/debian/patches/link-as-needed.diff 1970-01-01 01:00:00.000000000 +0100 +++ fbb-7.05f/debian/patches/link-as-needed.diff 2014-09-03 14:16:58.000000000 +0200 @@ -0,0 +1,13 @@ +Index: b/src/Makefile +=================================================================== +--- a/src/Makefile ++++ b/src/Makefile +@@ -151,7 +151,7 @@ + ifeq ($(USE_NCURSES),1) + CFLAGS += -DUSE_NCURSES + xfbbC : xfbbC.o md5c.o terminal.o +- $(CC) $(CFLAGS) $(LDFLAGS) -o xfbbC -lncurses xfbbC.o md5c.o terminal.o ++ $(CC) $(CFLAGS) $(LDFLAGS) -o xfbbC xfbbC.o md5c.o terminal.o -lncurses + else + xfbbC : xfbbC.o md5c.o + @echo "***" diff -Nru fbb-7.05f/debian/patches/series fbb-7.05f/debian/patches/series --- fbb-7.05f/debian/patches/series 2014-08-18 21:21:13.000000000 +0200 +++ fbb-7.05f/debian/patches/series 2014-09-03 14:16:07.000000000 +0200 @@ -4,3 +4,4 @@ 04-add-fbbgetconf.1 05-fix-compile-warnings 06-spelling-fixes +link-as-needed.diff