[libfann] 10/133: Added patch to link against libm
Christian Kastner
chrisk-guest at moszumanska.debian.org
Sat Oct 4 21:07:44 UTC 2014
This is an automated email from the git hooks/post-receive script.
chrisk-guest pushed a commit to branch master
in repository libfann.
commit 941af07ee2e8c753b3f02188be12676456e3f028
Author: Christian Kastner <debian at kvr.at>
Date: Mon Jun 7 13:44:28 2010 +0200
Added patch to link against libm
---
debian/changelog | 1 +
debian/patches/0002-Link-against-libm.patch | 28 ++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 30 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 0f2213a..d297437 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ libfann2 (2.1.0~beta~dfsg-1) UNRELEASED; urgency=low
- Convert to format 3.0 (quilt)
* debian/patches:
- Added 0001-Link-python-pyfann-dynamically-instead-of-statically.patch
+ - Added 0002-Link-against-libm.patch (Closes: #558887)
-- Christian Kastner <debian at kvr.at> Mon, 07 Jun 2010 13:22:16 +0200
diff --git a/debian/patches/0002-Link-against-libm.patch b/debian/patches/0002-Link-against-libm.patch
new file mode 100644
index 0000000..02dc834
--- /dev/null
+++ b/debian/patches/0002-Link-against-libm.patch
@@ -0,0 +1,28 @@
+From: Christian Kastner <debian at kvr.at>
+Date: Fri, 4 Jun 2010 23:28:23 +0200
+Subject: [PATCH] Link against libm
+
+Upstream's autotools setup does not detect if linking against libm is
+necessary. The easiest solution for Debian is to include a small fix in
+Makefile.in.
+
+Forwarded: no
+Last-Update: 2010-06-04
+---
+ src/Makefile.in | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/Makefile.in b/src/Makefile.in
+index cae862d..4955804 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -124,7 +124,7 @@ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ -lm
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
+ LIBTOOL = @LIBTOOL@
+--
diff --git a/debian/patches/series b/debian/patches/series
index 326884d..2f8a1a4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Link-python-pyfann-dynamically-instead-of-statically.patch
+0002-Link-against-libm.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libfann.git
More information about the debian-science-commits
mailing list