[SCM] dssi/master: Add patch to fix FTBFS with GNU's gold linker.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Mar 14 08:42:49 UTC 2011


The following commit has been merged in the master branch:
commit 9c09f9ea9176a20c0438b9c0eccc74d570f4ff37
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Mar 14 09:42:32 2011 +0100

    Add patch to fix FTBFS with GNU's gold linker.

diff --git a/debian/patches/0001-binutils_gold.patch b/debian/patches/0001-binutils_gold.patch
new file mode 100644
index 0000000..fe34bfb
--- /dev/null
+++ b/debian/patches/0001-binutils_gold.patch
@@ -0,0 +1,30 @@
+Description: Extend linking flags list to prevent FTBFS with gold linker.
+Author: Alessio Treglia <alessio at debian.org>
+Forwarded: Sean Bolton <musound at jps.net>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618088
+---
+ examples/Makefile.am       |    2 +-
+ jack-dssi-host/Makefile.am |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- dssi.orig/jack-dssi-host/Makefile.am
++++ dssi/jack-dssi-host/Makefile.am
+@@ -22,6 +22,6 @@ jack_dssi_host_CFLAGS = -I$(top_srcdir)/
+ if DARWIN
+ jack_dssi_host_LDADD = $(AM_LDFLAGS) -lmx $(ALSA_LIBS) $(LIBLO_LIBS) $(JACK_LIBS)
+ else
+-jack_dssi_host_LDADD = $(AM_LDFLAGS) $(ALSA_LIBS) $(LIBLO_LIBS) $(JACK_LIBS)
++jack_dssi_host_LDADD = $(AM_LDFLAGS) $(ALSA_LIBS) $(LIBLO_LIBS) $(JACK_LIBS) -lm -ldl
+ endif
+ 
+--- dssi.orig/examples/Makefile.am
++++ dssi/examples/Makefile.am
+@@ -65,7 +65,7 @@ trivial_synth_la_LIBADD = -lm
+ less_trivial_synth_la_LIBADD = -lm
+ endif
+ 
+-trivial_sampler_la_LIBADD = -lpthread $(SNDFILE_LIBS) $(SRC_LIBS)
++trivial_sampler_la_LIBADD = -lpthread -lm $(SNDFILE_LIBS) $(SRC_LIBS)
+ 
+ if HAVE_LIBLO
+ if HAVE_QT
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8775f8b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-binutils_gold.patch

-- 
dssi packaging



More information about the pkg-multimedia-commits mailing list