Package: gnarwl Version: 3.6.dfsg-6.1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu quantal ubuntu-patch
Dear Maintainer, the following patch fixes a build failure with gcc 4.6 - I tested it in a sid pbuilder and it fixes the problem. We use the same patch in Ubuntu. *** /tmp/tmp6jzwLN/bug_body Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers quantal-updates APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 'quantal-proposed'), (500, 'quantal'), (100, 'quantal-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.5.0-17-generic (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru gnarwl-3.6.dfsg/debian/changelog gnarwl-3.6.dfsg/debian/changelog diff -Nru gnarwl-3.6.dfsg/debian/patches/fix-gcc4.6.patch gnarwl-3.6.dfsg/debian/patches/fix-gcc4.6.patch --- gnarwl-3.6.dfsg/debian/patches/fix-gcc4.6.patch 1970-01-01 01:00:00.000000000 +0100 +++ gnarwl-3.6.dfsg/debian/patches/fix-gcc4.6.patch 2011-09-16 12:59:48.000000000 +0200 @@ -0,0 +1,16 @@ +Fix FTBFS with GCC-4.6 (LP: #771112) +Index: gnarwl/src/Makefile +=================================================================== +--- gnarwl.orig/src/Makefile 2011-09-15 16:21:11.912681045 +0900 ++++ gnarwl/src/Makefile 2011-09-15 16:22:10.022701535 +0900 +@@ -7,8 +7,8 @@ + all: clean compile + + compile: $(OBJ) $(SOBJ) +- $(CC) $(CFLAGS) $(LFLAGS) -o $(BIN) gnarwl.c $(OBJ) +- $(CC) $(CFLAGS) $(LFLAGS) -o $(SBIN) damnit.c $(SOBJ) ++ $(CC) $(CFLAGS) -o $(BIN) gnarwl.c $(OBJ) $(LFLAGS) ++ $(CC) $(CFLAGS) -o $(SBIN) damnit.c $(SOBJ) $(LFLAGS) + + clean: + rm -f DEADJOE *.o *~ $(BIN) $(SBIN) diff -Nru gnarwl-3.6.dfsg/debian/patches/series gnarwl-3.6.dfsg/debian/patches/series --- gnarwl-3.6.dfsg/debian/patches/series 2010-04-06 10:45:44.000000000 +0200 +++ gnarwl-3.6.dfsg/debian/patches/series 2012-09-16 05:08:17.000000000 +0200 @@ -1,3 +1,4 @@ doc.patch dbaccess.patch data-makefile.patch +fix-gcc4.6.patch