Package: enscribe
Version: 0.1.0-1.1
Severity: normal
Tags: patch
User: debian-...@lists.debian.org
Usertags: ld-as-needed



*** /tmp/tmp_tKM8M
In Ubuntu, the attached patch was applied to achieve the following:

Hi, this package fails with bintuils gold and ld --as-needed, updating
01-makefile.dpatch solves this problem, please consider apply it.

Regards,

  * debian/patches/01-makefile.dpatch:
    - Refresh patch, reorder libraries to fix FTBFS with ld --as-needed
      (LP: #770933)


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
diff -u enscribe-0.1.0/debian/patches/01-makefile.dpatch enscribe-0.1.0/debian/patches/01-makefile.dpatch
--- enscribe-0.1.0/debian/patches/01-makefile.dpatch
+++ enscribe-0.1.0/debian/patches/01-makefile.dpatch
@@ -40,7 +40,7 @@
 -	install enscribe /usr/local/bin/enscribe
 +all: enscribe
 +enscribe:
-+	$(CC) $(CFLAGS) `pkg-config --cflags --libs sndfile` -o enscribe enscribe.c -lgd -lm
++	$(CC) $(CFLAGS) `pkg-config --cflags sndfile` -o enscribe enscribe.c -lgd -lm `pkg-config --libs sndfile`
  
 +install: enscribe
 +	install -D enscribe $(DESTDIR)/usr/bin/enscribe

Reply via email to