Package: efingerd Version: 1.6.2.7 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu oneiric ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following: * Makefile.debian: Use LIBS instead of LDFLAGS for libraries, and added LIBS to the compiler. Fixes FTBFS with --as-needed. (LP: #770943) Thanks for considering the patch. For more information about this issue, please see: http://wiki.debian.org/ToolChain/DSOLinking -- System Information: Debian Release: wheezy/sid APT prefers oneiric-updates APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-11-generic (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
=== modified file 'Makefile.debian' --- Makefile.debian 2001-08-13 11:38:20 +0000 +++ Makefile.debian 2011-09-17 09:26:09 +0000 @@ -5,12 +5,12 @@ CC = gcc CFLAGS = -O2 -Wall -LDFLAGS = -lident +LIBS = -lident all: efingerd efingerd: efingerd.o child.o - $(CC) $(CFLAGS) $(LDFLAGS) efingerd.o child.o -o efingerd + $(CC) $(CFLAGS) $(LDFLAGS) efingerd.o child.o -o efingerd $(LIBS) efingerd.o: efingerd.c $(CC) $(CFLAGS) -c efingerd.c