Package: jack-rack
Version: 1.4.8~rc1-1
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch

jack-rack FTBFS in Ubuntu because it does not explicitly link with -lm.

There's a patch for this already, but it doesn't include -lm even though
the upstream bug does include it. So I updated the patch (below).

This succeeds in Debian right now because the linker isn't as pedantic
as Ubuntu's, but you might want to update this for the future.

Thanks

diff -Nru jack-rack-1.4.8~rc1/debian/patches/02-gcc45_binutils_gold.patch 
jack-rack-1.4.8~rc1/debian/patches/02-gcc45_binutils_gold.patch
--- jack-rack-1.4.8~rc1/debian/patches/02-gcc45_binutils_gold.patch     
2011-05-29 09:11:30.000000000 +0000
+++ jack-rack-1.4.8~rc1/debian/patches/02-gcc45_binutils_gold.patch     
2013-04-09 14:18:14.000000000 +0000
@@ -1,21 +1,25 @@
 Description: Fix FTBFS with newest GCC4.5 and linker.
+ Updated 2013-04-09 by Robie Basak <robie.ba...@canonical.com>:
+  * Added -lm; this is already in the upstream bug.
 Author: Alessio Treglia <ales...@debian.org>
 Forwarded: https://sourceforge.net/apps/trac/jack-rack/ticket/1
  Also forwarded to torb...@gmx.de, leslie.pol...@gmx.net,
  adamsamp...@users.sourceforge.net
+Last-Update: 2013-04-09
 ---
  src/Makefile.am |    3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
---- jack-rack.orig/src/Makefile.am
-+++ jack-rack/src/Makefile.am
-@@ -61,7 +61,8 @@ jack_rack_CFLAGS = \
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -61,7 +61,9 @@
        -DGNOME_DISABLE_DEPRECATED=1
  
  
 -jack_rack_LDFLAGS = \
 +LIBS = \
 +      -ldl \
++      -lm \
        $(JACK_LIBS) \
        $(GTK_LIBS) \
        $(GNOMEUI_LIBS) \


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to