Package: gnome-breakout
Version: 0.5.3-4
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch

Dear Maintainer,
A recent rebuild test in Ubuntu found that gnome-breakout FTBFS due to
underlinking [1]. An explicit link against -lm is necessary.

[1] https://launchpadlibrarian.net/135908283/buildlog_ubuntu-raring-armhf
..gnome-breakout_0.5.3-4_FAILEDTOBUILD.txt.gz

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/patches/05_fix_ftbfs_binutils_gold.patch: Link against -lm to fix
    underlinking FTBFS.


Thanks for considering the patch.



-- System Information:
Debian Release: wheezy/sid
  APT prefers raring-updates
  APT policy: (500, 'raring-updates'), (500, 'raring-security'), (500, 
'raring'), (100, 'raring-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8.0-16-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/patches/05_fix_ftbfs_binutils_gold.patch'
--- debian/patches/05_fix_ftbfs_binutils_gold.patch	2012-03-24 16:19:00 +0000
+++ debian/patches/05_fix_ftbfs_binutils_gold.patch	2013-04-03 21:45:22 +0000
@@ -3,13 +3,11 @@
 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554647
 Last-Update: 2009-12-04
 
-Index: gnome-breakout-0.5.3/src/Makefile.am
-===================================================================
---- gnome-breakout-0.5.3.orig/src/Makefile.am	2009-12-04 10:12:10.000000000 +0800
-+++ gnome-breakout-0.5.3/src/Makefile.am	2009-12-04 10:12:18.000000000 +0800
+--- a/src/Makefile.am
++++ b/src/Makefile.am
 @@ -23,4 +23,4 @@
  	powerup.c powerup.h \
  	util.c util.h
  
 -gnome_breakout_LDADD = $(GNOMEUI_LIBS) $(INTLLIBS)
-+gnome_breakout_LDADD = $(GNOMEUI_LIBS) $(INTLLIBS) -lX11
++gnome_breakout_LDADD = $(GNOMEUI_LIBS) $(INTLLIBS) -lX11 -lm

=== modified file 'src/Makefile.am'
--- src/Makefile.am	2009-12-05 13:20:30 +0000
+++ src/Makefile.am	2013-04-03 21:45:19 +0000
@@ -23,4 +23,4 @@
 	powerup.c powerup.h \
 	util.c util.h
 
-gnome_breakout_LDADD = $(GNOMEUI_LIBS) $(INTLLIBS) -lX11
+gnome_breakout_LDADD = $(GNOMEUI_LIBS) $(INTLLIBS) -lX11 -lm

Reply via email to