Package: mialmpick
Version: 0.2.8-1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu saucy ubuntu-patch

Dear Maintainer,
In Ubuntu, mialmpick FTBFS due to not explicitly linking against libm.

In Ubuntu, the attached patch was applied to achieve the following:
  * debian/patches/link-against-libm.patch: Link against libm to fix
    underlinking FTBFS.
  * debian/control: Add Build-Depends on dh-autoreconf and autopoint so that
    autoreconf can be run on build (due to the configure.ac change).
  * debian/rules: Add --with autoreconf.


Thanks for considering the patch.



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

Kernel: Linux 3.9.0-0-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
diff -Nru mialmpick-0.2.8/debian/changelog mialmpick-0.2.8/debian/changelog
diff -Nru mialmpick-0.2.8/debian/control mialmpick-0.2.8/debian/control
--- mialmpick-0.2.8/debian/control	2013-04-22 02:34:39.000000000 -0400
+++ mialmpick-0.2.8/debian/control	2013-04-30 15:30:29.000000000 -0400
@@ -2,7 +2,7 @@
 Section: science
 Priority: optional
 Maintainer: Gert Wollny <gw.foss...@gmail.com>
-Build-Depends: debhelper (>= 9.0.0), autotools-dev, libmialm-dev, libvistaio-dev (>=1.2.12), libgtkglext1-dev, libgnomeui-dev, libglade2-dev, libpng12-dev, libglib2.0-dev
+Build-Depends: debhelper (>= 9.0.0), autotools-dev, libmialm-dev, libvistaio-dev (>=1.2.12), libgtkglext1-dev, libgnomeui-dev, libglade2-dev, libpng12-dev, libglib2.0-dev, dh-autoreconf, autopoint
 Standards-Version: 3.9.4
 Homepage: http://mia.sourceforge.net
 #Vcs-Git: git://git.debian.org/collab-maint/mialmpick.git
diff -Nru mialmpick-0.2.8/debian/patches/link-against-libm.patch mialmpick-0.2.8/debian/patches/link-against-libm.patch
--- mialmpick-0.2.8/debian/patches/link-against-libm.patch	1969-12-31 19:00:00.000000000 -0500
+++ mialmpick-0.2.8/debian/patches/link-against-libm.patch	2013-04-30 14:50:41.000000000 -0400
@@ -0,0 +1,10 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -51,6 +51,7 @@
+ dnl Checks for programs.
+ dnl Checks for libraries.
+ dnl AC_CHECK_LIB(popt,poptPrintUsage,,exit)
++AC_SEARCH_LIBS([sqrtf], [m])
+ 
+ dnl Checks for header files.
+ dnl Checks for typedefs, structures, and compiler characteristics.
diff -Nru mialmpick-0.2.8/debian/patches/series mialmpick-0.2.8/debian/patches/series
--- mialmpick-0.2.8/debian/patches/series	1969-12-31 19:00:00.000000000 -0500
+++ mialmpick-0.2.8/debian/patches/series	2013-04-30 14:32:14.000000000 -0400
@@ -0,0 +1 @@
+link-against-libm.patch
diff -Nru mialmpick-0.2.8/debian/rules mialmpick-0.2.8/debian/rules
--- mialmpick-0.2.8/debian/rules	2013-04-22 02:34:39.000000000 -0400
+++ mialmpick-0.2.8/debian/rules	2013-04-30 14:38:41.000000000 -0400
@@ -4,5 +4,5 @@
 LDFLAGS+=-Wl,--as-needed
 
 %:
-	dh $@ --parallel
+	dh $@ --parallel --with autoreconf
 

Reply via email to