Package: gnujump Version: 1.0.6-4 Severity: important Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu raring ubuntu-patch
Dear Maintainer, A test rebuild of all packages in Ubuntu found that gnujump failed to build from source because it didn't explicitly link against -lm. [1] [1] https://launchpadlibrarian.net/136126172/buildlog_ubuntu-raring- amd64.gnujump_1.0.6-4_FAILEDTOBUILD.txt.gz In Ubuntu, the attached patch was applied to achieve the following: * debian/patches/06_link_against_-lm_.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
=== added file 'debian/patches/06_link_against_-lm_.patch' --- debian/patches/06_link_against_-lm_.patch 1970-01-01 00:00:00 +0000 +++ debian/patches/06_link_against_-lm_.patch 2013-04-04 18:50:43 +0000 @@ -0,0 +1,13 @@ +Description: link against -lm to fix underlinking FTBFS +Author: Logan Rosen <lo...@ubuntu.com> +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -5,7 +5,7 @@ + + # the library search path. + gnujump_LDFLAGS = -Wl,--as-needed +-gnujump_LDADD = $(all_libraries) ++gnujump_LDADD = $(all_libraries) -lm + + gnujump_SOURCES = \ + game.h\ === modified file 'debian/patches/series' --- debian/patches/series 2011-07-19 11:40:51 +0000 +++ debian/patches/series 2013-04-04 18:50:43 +0000 @@ -3,3 +3,4 @@ 03_main_c_include_locale_h.patch 04_linker_arguments.patch 05_full_build.patch +06_link_against_-lm_.patch === modified file 'src/Makefile.am' --- src/Makefile.am 2011-07-19 11:40:51 +0000 +++ src/Makefile.am 2013-04-04 18:50:43 +0000 @@ -5,7 +5,7 @@ # the library search path. gnujump_LDFLAGS = -Wl,--as-needed -gnujump_LDADD = $(all_libraries) +gnujump_LDADD = $(all_libraries) -lm gnujump_SOURCES = \ game.h\