On 2009-11-05 Peter Fritzsche <peter.fritzs...@gmx.de> wrote:
> Source: ggz-gtk-client
> Version: 0.0.14.1-1
> Severity: minor
> User: peter.fritzs...@gmx.de
> Usertags: no-add-needed

> Tried to build your package and it fails to build with GNU binutils-gold.
[...]

Hello,

I have uploaded a NMU with the following changes to delayed/3:

* debian/patches/ftbfs_binutils-gold.patch: Fix FTBFS binutils-gold
  with ld --no-add-needed by adding ggz, ggzcore, and gtk-x11-2.0
  library in src/Makefile.* (Thanks, Mahyuddin Susanto) Closes: #554547
* Empty dependency_libs in libtool la file.
  http://wiki.debian.org/ReleaseGoals/LAFileRemoval

nmu diff attached.

cu andreas
diff -u ggz-gtk-client-0.0.14.1/debian/rules ggz-gtk-client-0.0.14.1/debian/rules
--- ggz-gtk-client-0.0.14.1/debian/rules
+++ ggz-gtk-client-0.0.14.1/debian/rules
@@ -9,0 +10,4 @@
+
+common-install-arch::
+	find debian/tmp/usr/lib  -name "*.la" -exec \
+		sed -i -e "s,^dependency_libs=.*,dependency_libs=''," {} +
diff -u ggz-gtk-client-0.0.14.1/debian/changelog ggz-gtk-client-0.0.14.1/debian/changelog
--- ggz-gtk-client-0.0.14.1/debian/changelog
+++ ggz-gtk-client-0.0.14.1/debian/changelog
@@ -1,3 +1,14 @@
+ggz-gtk-client (0.0.14.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches/ftbfs_binutils-gold.patch: Fix FTBFS binutils-gold 
+    with ld --no-add-needed by adding ggz, ggzcore, and gtk-x11-2.0
+    library in src/Makefile.* (Thanks, Mahyuddin Susanto) Closes: #554547
+  * Empty depency_libs in libtool la file.
+    http://wiki.debian.org/ReleaseGoals/LAFileRemoval
+
+ -- Andreas Metzler <ametz...@debian.org>  Sat, 02 Apr 2011 19:34:34 +0200
+
 ggz-gtk-client (0.0.14.1-1) unstable; urgency=low
 
   * New upstream release
only in patch2:
unchanged:
--- ggz-gtk-client-0.0.14.1.orig/debian/patches/ftbfs_binutils-gold.patch
+++ ggz-gtk-client-0.0.14.1/debian/patches/ftbfs_binutils-gold.patch
@@ -0,0 +1,26 @@
+Description: Fix FTBFS binutils-gold with ld --no-add-needed by adding ggz, ggzcore
+ and gtk-x11-2.0 library in src/Makefile.*
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/700291
+Author: Mahyuddin Susanto <udi...@gmail.com>
+
+diff -Nurp ggz-gtk-client-0.0.14.1/src//Makefile.am ggz-gtk-client-0.0.14.1.debian/src//Makefile.am
+--- ggz-gtk-client-0.0.14.1/src//Makefile.am	2008-01-05 19:03:27.000000000 +0000
++++ ggz-gtk-client-0.0.14.1.debian/src//Makefile.am	2011-01-13 11:41:21.000000000 +0000
+@@ -8,4 +8,4 @@ bin_PROGRAMS = ggz-gtk
+ ggz_gtk_SOURCES = main.c
+ 
+ ggz_gtk_DEPENDENCIES = $(top_builddir)/ggz-gtk/libggz-gtk.la
+-ggz_gtk_LDADD = $(top_builddir)/ggz-gtk/libggz-gtk.la $(LIB_GETTEXT)
++ggz_gtk_LDADD = $(top_builddir)/ggz-gtk/libggz-gtk.la $(LIB_GETTEXT) -lgtk-x11-2.0 -lggzcore -lggz
+diff -Nurp ggz-gtk-client-0.0.14.1/src//Makefile.in ggz-gtk-client-0.0.14.1.debian/src//Makefile.in
+--- ggz-gtk-client-0.0.14.1/src//Makefile.in	2008-02-16 21:01:29.000000000 +0000
++++ ggz-gtk-client-0.0.14.1.debian/src//Makefile.in	2011-01-13 11:41:05.000000000 +0000
+@@ -219,7 +219,7 @@ AM_CPPFLAGS = $(GTK_CFLAGS) -I$(top_srcd
+ 
+ ggz_gtk_SOURCES = main.c
+ ggz_gtk_DEPENDENCIES = $(top_builddir)/ggz-gtk/libggz-gtk.la
+-ggz_gtk_LDADD = $(top_builddir)/ggz-gtk/libggz-gtk.la $(LIB_GETTEXT)
++ggz_gtk_LDADD = $(top_builddir)/ggz-gtk/libggz-gtk.la $(LIB_GETTEXT) -lgtk-x11-2.0 -lggzcore -lggz
+ all: all-am
+ 
+ .SUFFIXES:

Reply via email to