Package: ne Version: 2.2-2 Severity: normal Tags: patch User: peter.fritzs...@gmx.de Usertags: unresolved-symbols-so
*** /tmp/tmp6lnlEy In Ubuntu, the attached patch was applied to achieve the following: Hi! ne fails to build from source with binutils-gold, this patch solves this problem. Regards, * debian/patches/01-fix-ftbfs-add-lm: - Add -lm to fix ftbfs with binutils-gold (LP: #771117) Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers oneiric-updates APT policy: (500, 'oneiric-updates'), (500, 'oneiric') Architecture: amd64 (x86_64) Kernel: Linux 3.0-2-generic (SMP w/1 CPU core) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru ne-2.2/debian/changelog ne-2.2/debian/changelog diff -Nru ne-2.2/debian/patches/01-fix-ftbfs-add-lm ne-2.2/debian/patches/01-fix-ftbfs-add-lm --- ne-2.2/debian/patches/01-fix-ftbfs-add-lm 1970-01-01 01:00:00.000000000 +0100 +++ ne-2.2/debian/patches/01-fix-ftbfs-add-lm 2011-06-30 00:12:49.000000000 +0200 @@ -0,0 +1,17 @@ +Description: Add -lm to fix ftbfs with binutils-gold +Author: Angel Abad <angela...@ubuntu.com> +Bug-Ubuntu: https://launchpad.net/bugs/771117 + +Index: ne-2.2/src/makefile +=================================================================== +--- ne-2.2.orig/src/makefile 2011-06-30 00:06:20.681107553 +0200 ++++ ne-2.2/src/makefile 2011-06-30 00:06:49.680742979 +0200 +@@ -101,7 +101,7 @@ + $(if $(NE_TERMCAP), -DTERMCAP,) \ + $(if $(NE_ANSI), -DTERMCAP -DANSI,) + +-LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses) ++LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses -lm) + + ne: $(OBJS) $(if $(NE_TERMCAP)$(NE_ANSI),$(TERMCAPOBJS),) + $(CC) -lm $(OPTS) $(LDFLAGS) $^ $(LIBS) -o $(PROGRAM) diff -Nru ne-2.2/debian/patches/series ne-2.2/debian/patches/series --- ne-2.2/debian/patches/series 2011-03-10 05:21:57.000000000 +0100 +++ ne-2.2/debian/patches/series 2011-06-30 00:09:24.000000000 +0200 @@ -1 +1,2 @@ 00_Fix_Gcc_Warning +01-fix-ftbfs-add-lm