Package: sendip Version: 2.5-3 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu oneiric ubuntu-patch
*** /tmp/tmpkefsMy In Ubuntu, the attached patch was applied to achieve the following: Hi! This package fails to build from source with binutils-gold and ld --as-needed, this patch solves the problem. * Fix FTBFS with ld --as-needed (LP: #832954) 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.0-10-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 -u sendip-2.5/Makefile sendip-2.5/Makefile --- sendip-2.5/Makefile +++ sendip-2.5/Makefile @@ -32,7 +32,7 @@ #there has to be a nice way to do this sendip: sendip.o gnugetopt.o gnugetopt1.o compact.o sh -c "if [ `uname` = Linux -o `uname` = GNU/kFreeBSD ] ; then \ -$(CC) -o $@ $(LDFLAGS_LINUX) $(CFLAGS) $+ ; \ +$(CC) $+ -o $@ $(LDFLAGS_LINUX) $(CFLAGS) ; \ elif [ `uname` = SunOS ] ; then \ $(CC) -o $@ $(LDFLAGS_SOLARIS) $(CFLAGS) $+ ;\ else \