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



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

This package fails to build from source with ld --as-needed, this patch
solves the problem.

Regards,

  * debian/rules:
    - Re-order -lz to fix FTBFS with ld --as-needed (LP: #803171)


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-3-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 -Nru apng2gif-1.1/debian/changelog apng2gif-1.1/debian/changelog
diff -Nru apng2gif-1.1/debian/rules apng2gif-1.1/debian/rules
--- apng2gif-1.1/debian/rules	2010-12-11 18:08:59.000000000 +0100
+++ apng2gif-1.1/debian/rules	2011-07-06 15:26:52.000000000 +0200
@@ -10,7 +10,7 @@
 	$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman
 
 override_dh_auto_build: man
-	$(CC) $(CFLAGS) -lz $(PACKAGE).c -o $(BIN)
+	$(CC) $(CFLAGS) $(PACKAGE).c -o $(BIN) -lz
 
 override_dh_installmanpages:
 	dh_installmanpages debian/*.1

Reply via email to