Package: libxml++2.6
Version: 2.33.1-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu natty ubuntu-patch no-add-needed
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=639485
*** /tmp/tmpjsMcTx
In Ubuntu, we've applied the attached patch to achieve the following:
* Merge from Debian experimental (LP: #699897), no previous changes
* Fix FTBFS with ld --no-add-needed; Thanks to Alessandro Pignotti for the
patch
- add debian/patches/fix_FTBFS_no_add_needed.patch
We thought you might be interested in doing the same.
-- System Information:
Debian Release: squeeze/sid
APT prefers maverick-updates
APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500,
'maverick-backports'), (500, 'maverick'), (300, 'maverick-proposed')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35-24-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
--- libxml++2.6-2.33.1.orig/debian/patches/fix_FTBFS_no_add_needed.patch
+++ libxml++2.6-2.33.1/debian/patches/fix_FTBFS_no_add_needed.patch
@@ -0,0 +1,18 @@
+Subject: Fix FTBFS with ld --no-add-needed
+Author: Alessandro Pignotti
+Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=639485
+Origin: vendor, https://bugs.launchpad.net/ubuntu/+source/libxml++2.6/+bug/699897/comments/6
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libxml++2.6/+bug/699897
+
+diff -ruN libxml++2.6-2.33.1.orig//Makefile.in libxml++2.6-2.33.1/Makefile.in
+--- libxml++2.6-2.33.1.orig//Makefile.in 2010-11-18 09:01:32.000000000 +0100
++++ libxml++2.6-2.33.1/Makefile.in 2011-01-09 03:11:09.342648232 +0100
+@@ -514,7 +514,7 @@
+ LD = @LD@
+ LDFLAGS = @LDFLAGS@
+ LIBOBJS = @LIBOBJS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lglibmm-2.4
+ LIBTOOL = @LIBTOOL@
+ LIBXMLXX_API_VERSION = @LIBXMLXX_API_VERSION@
+ LIBXMLXX_CFLAGS = @LIBXMLXX_CFLAGS@