Package: syslinux Version: 2:4.05+dfsg-1 Severity: normal Tags: patch User: debian-...@lists.debian.org Usertags: origin-ubuntu precise ubuntu-patch ld-as-needed
See http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries *** /tmp/tmpkVI7tk/bug_body In Ubuntu, the attached patch was applied to achieve the following: * Fix build failure with --as-needed - add debian/patches/08-fix-as-needed.patch - update debian/patches/series Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers oneiric-updates APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric-proposed'), (500, 'oneiric'), (100, 'oneiric-backports') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-15-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru syslinux-4.05+dfsg/debian/changelog syslinux-4.05+dfsg/debian/changelog diff -Nru syslinux-4.05+dfsg/debian/patches/08-fix-as-needed.patch syslinux-4.05+dfsg/debian/patches/08-fix-as-needed.patch --- syslinux-4.05+dfsg/debian/patches/08-fix-as-needed.patch 1969-12-31 18:00:00.000000000 -0600 +++ syslinux-4.05+dfsg/debian/patches/08-fix-as-needed.patch 2012-01-05 20:20:54.000000000 -0600 @@ -0,0 +1,17 @@ +Description: Fix build failure with --as-needed + See http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries + . +Author: Micah Gersten <mic...@ubuntu.com> + +--- +--- syslinux-4.05+dfsg.orig/utils/Makefile ++++ syslinux-4.05+dfsg/utils/Makefile +@@ -51,7 +51,7 @@ isohdpfx.c: $(ISOHDPFX) isohdpfxarray.pl + $(PERL) isohdpfxarray.pl $(ISOHDPFX) > $@ + + isohybrid: isohybrid.o isohdpfx.o +- $(CC) $(LDFLAGS) -luuid -o $@ $^ ++ $(CC) $(LDFLAGS) -o $@ $^ -luuid + + gethostip: gethostip.o + $(CC) $(LDFLAGS) -o $@ $^ diff -Nru syslinux-4.05+dfsg/debian/patches/series syslinux-4.05+dfsg/debian/patches/series --- syslinux-4.05+dfsg/debian/patches/series 2011-12-23 07:39:12.000000000 -0600 +++ syslinux-4.05+dfsg/debian/patches/series 2012-01-05 20:18:57.000000000 -0600 @@ -5,3 +5,4 @@ 05-digest-sha.patch 06-geodsp.patch 07-gfxboot-menu-label.patch +08-fix-as-needed.patch