Package: xsidplay
Version: 2.0.3-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch



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

This patch solves this ftbfs, thanks!

  * Fix ftbfs with binutils-gold:
    - Add quilt framework
    - debian/patches/fix_ftbfs_with_binutils_gold:
      + Patch to fix ftbfs with binutils-gold


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 -u xsidplay-2.0.3/debian/rules xsidplay-2.0.3/debian/rules
--- xsidplay-2.0.3/debian/rules
+++ xsidplay-2.0.3/debian/rules
@@ -7,8 +7,10 @@
 ## Uncomment this to see what should happen.
 #export DH_NO_ACT=1
 
+include /usr/share/quilt/quilt.make
+
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 # to run 'make depend' is no longer necessary, because ./configure already does
 	dh_testdir debian/rules src
 # well, ./configure isn't interactive here and doesn't take long, so it's
@@ -18,7 +20,7 @@
 	$(MAKE) CFLAGS="-O3 -g -Wall" all
 	touch build-stamp
 
-clean:
+clean: unpatch
 	dh_testroot
 	dh_testdir debian/rules src
 	-rm -f build-stamp
only in patch2:
unchanged:
--- xsidplay-2.0.3.orig/debian/patches/series
+++ xsidplay-2.0.3/debian/patches/series
@@ -0,0 +1 @@
+fix_ftbfs_with_binutils_gold
only in patch2:
unchanged:
--- xsidplay-2.0.3.orig/debian/patches/fix_ftbfs_with_binutils_gold
+++ xsidplay-2.0.3/debian/patches/fix_ftbfs_with_binutils_gold
@@ -0,0 +1,15 @@
+Description: Fix ftbfs with binutils-gold
+Author: Angel Abad <angela...@ubuntu.com>
+Bug-Debian: http://bugs.debian.org/556769
+ 
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -170,7 +170,7 @@
+ LIBAUDIO = @LIBAUDIO@
+ LIBLIRC_LDADD = @LIBLIRC_LDADD@
+ LIBOBJS = @LIBOBJS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lasound
+ LIBTOOL = @LIBTOOL@
+ LIBTSID2_LDADD = @LIBTSID2_LDADD@
+ LIBTSID_LDADD = @LIBTSID_LDADD@

Reply via email to