Package: ddns3-client
Version: 1.8-8
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch



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

Hi, the package fails building with bintuils-gold, using ld --no-add-needed,
this pacth solve this problem.

  * Merge from debian unstable. Remaining changes:
    - debian/patches/fix-ld-as-needed: Fix FTBFS binutils-gold with ld
      --no-add-needed by declaring LIBS after object.


Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-8-generic (SMP w/1 CPU core)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru ddns3-client-1.8/debian/patches/fix-ld-no-add-needed ddns3-client-1.8/debian/patches/fix-ld-no-add-needed
--- ddns3-client-1.8/debian/patches/fix-ld-no-add-needed	1970-01-01 01:00:00.000000000 +0100
+++ ddns3-client-1.8/debian/patches/fix-ld-no-add-needed	2011-01-21 17:01:53.000000000 +0100
@@ -0,0 +1,15 @@
+Description: Fix ftbfs with ld --no-add-needed
+Author: Mahyuddin Susanto <udi...@gmail.com> 
+Bug-Ubuntu: https://launchpad.net/bugs/704868
+
+--- ddns3-client-1.8.orig/GNUmakefile
++++ ddns3-client-1.8/GNUmakefile
+@@ -19,7 +19,7 @@ LIBS=$(LINUX_LIBS)
+ all:		ddns3
+ 
+ ddns3:		ddns3.c libddns3.a
+-	$(CC) ${CFLAGS} $(LIBS) ddns3.c libddns3.a -o ddns3
++	$(CC) ${CFLAGS} ddns3.c libddns3.a -o ddns3 $(LIBS)
+ 
+ libddns3.a:	sockio.o crypto.o auth.o md5.o ctx.o
+ 	$(AR) -cr libddns3.a *.o
diff -Nru ddns3-client-1.8/debian/patches/series ddns3-client-1.8/debian/patches/series
--- ddns3-client-1.8/debian/patches/series	2011-01-20 14:24:26.000000000 +0100
+++ ddns3-client-1.8/debian/patches/series	2011-01-21 17:01:30.000000000 +0100
@@ -1 +1,2 @@
 debian-changes-1.8-8
+fix-ld-no-add-needed

Reply via email to