tag 554747 patch thanks Peter Fritzsche [2009-11-06 11:29 +0100]: > Tried to build your package and it fails to build with GNU binutils-gold. The > important difference is that --no-add-needed is the default behavior of of GNU > binutils-gold. Please provide all needed libraries to the linker when building > your executables.
Mahyuddin Susanto sent a patch for this to the Ubuntu bug tracker: https://launchpadlibrarian.net/74328153/gstm_1.2-7ubuntu2.dsc.debdiff I also attach it here for convenience. Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
diff -u gstm-1.2/debian/changelog gstm-1.2/debian/changelog
--- gstm-1.2/debian/changelog
+++ gstm-1.2/debian/changelog
@@ -1,3 +1,10 @@
+gstm (1.2-7ubuntu2) oneiric; urgency=low
+
+ * debian/patches/ftbfs-as-needed.patch: Fix FTBFS with ld no-add-needed
+ by adding xml2 library linker to src/Makefile.{am|in}. (LP: #749207)
+
+ -- Mahyuddin Susanto <[email protected]> Thu, 30 Jun 2011 12:31:17 +0700
+
gstm (1.2-7ubuntu1) lucid; urgency=low
* Always show the status icons (LP: #541467)
diff -u gstm-1.2/debian/patches/series gstm-1.2/debian/patches/series
--- gstm-1.2/debian/patches/series
+++ gstm-1.2/debian/patches/series
@@ -4,0 +5 @@
+ftbfs-as-needed.patch
only in patch2:
unchanged:
--- gstm-1.2.orig/debian/patches/ftbfs-as-needed.patch
+++ gstm-1.2/debian/patches/ftbfs-as-needed.patch
@@ -0,0 +1,28 @@
+Description: Fix FTBFS with ld no-add-needed by adding xml library linker
+Author: Mahyuddin Susanto
+Bug-Ubuntu: https://launchpad.net/bugs/749207
+Bug-Debian: http://bugs.debian.org/554747
+
+Index: gstm-1.2/src/Makefile.am
+===================================================================
+--- gstm-1.2.orig/src/Makefile.am 2011-06-30 12:18:36.546099337 +0700
++++ gstm-1.2/src/Makefile.am 2011-06-30 12:18:20.966076493 +0700
+@@ -18,4 +18,4 @@
+ fnssht.c fnssht.h \
+ notarea.c eggtrayicon.c eggtrayicon.h
+
+-gstm_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
++gstm_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lxml2
+Index: gstm-1.2/src/Makefile.in
+===================================================================
+--- gstm-1.2.orig/src/Makefile.in 2011-06-30 12:18:36.586099394 +0700
++++ gstm-1.2/src/Makefile.in 2011-06-30 12:18:34.566096433 +0700
+@@ -179,7 +179,7 @@
+ fnssht.c fnssht.h \
+ notarea.c eggtrayicon.c eggtrayicon.h
+
+-gstm_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
++gstm_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lxml2
+ all: all-am
+
+ .SUFFIXES:
signature.asc
Description: Digital signature

