[SCM] libinstpatch/master: Add patch to fix build failure with binutils-gold (Closes: #603500); thanks to Fabrice Coutadeur for the patch.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Sun Nov 14 23:38:03 UTC 2010
The following commit has been merged in the master branch:
commit 8109a52465163a256517997f7304ac9759cd5f50
Author: Alessio Treglia <alessio at debian.org>
Date: Mon Nov 15 00:37:12 2010 +0100
Add patch to fix build failure with binutils-gold (Closes: #603500); thanks to Fabrice Coutadeur for the patch.
diff --git a/debian/patches/06-fix_for_binutils_gold.patch b/debian/patches/06-fix_for_binutils_gold.patch
new file mode 100644
index 0000000..b9a44e0
--- /dev/null
+++ b/debian/patches/06-fix_for_binutils_gold.patch
@@ -0,0 +1,20 @@
+Description: Fix Makefile.am in examples to avoid a FTBFS with binutils-gold, by
+ adding libgobject-2.0 and libglib-2.0 to libraries used to link sf2.
+Author: Fabrice Coutadeur <fabricesp at ubuntu.com>
+Bug-Debian: http://bugs.debian.org/603500
+Forwarded: https://sourceforge.net/support/tracker.php?aid=3109296
+---
+ examples/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- libinstpatch.orig/examples/Makefile.am
++++ libinstpatch/examples/Makefile.am
+@@ -4,7 +4,7 @@ EXTRA_DIST = create_sf2.py
+ noinst_PROGRAMS = create_sf2
+
+ create_sf2_SOURCES = create_sf2.c
+-create_sf2_LDADD = $(top_srcdir)/libinstpatch/libinstpatch-1.0.la
++create_sf2_LDADD = $(top_srcdir)/libinstpatch/libinstpatch-1.0.la -lgobject-2.0 -lglib-2.0
+
+ INCLUDES = -I$(top_srcdir) @GOBJECT_CFLAGS@
+
diff --git a/debian/patches/series b/debian/patches/series
index 4aedc54..f0fc6d8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
03-pkgconfig.patch
04-fix_tests.patch
05-with_math_lib.patch
+06-fix_for_binutils_gold.patch
--
libinstpatch packaging
More information about the pkg-multimedia-commits
mailing list