Package: dangen
Version: 0.4-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch



*** /tmp/tmpKBSDuD
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

Regards

  * Reorder libraries to fix FTBFS with ld --as-needed (LP: #770792)


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-8-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
--- dangen-0.4.orig/Makefile.in
+++ dangen-0.4/Makefile.in
@@ -229,7 +229,7 @@
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
 DIST_SOURCES = $(dangen_SOURCES)
 
 NROFF = nroff
@@ -310,7 +310,7 @@
        -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
 dangen$(EXEEXT): $(dangen_OBJECTS) $(dangen_DEPENDENCIES) 
        @rm -f dangen$(EXEEXT)
-       $(LINK) $(dangen_LDFLAGS) $(dangen_OBJECTS) $(dangen_LDADD) $(LIBS)
+       $(LINK) $(dangen_LDFLAGS) $(dangen_OBJECTS) $(dangen_LDADD) $(LIBS) 
$(SDL_LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT) core *.core

Reply via email to