[med-svn] [kmc] 01/01: fix FTBFS
Sascha Steinbiss
sascha at steinbiss.name
Sun Apr 24 12:10:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
sascha-guest pushed a commit to branch master
in repository kmc.
commit f6610435219410f25033bf79dca822ccd49b2abf
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date: Sun Apr 24 12:09:56 2016 +0000
fix FTBFS
---
debian/changelog | 7 +++++++
debian/patches/newish_gcc_build_fix.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 27 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index f18f641..e4fe20c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+kmc (2.3+dfsg-5) unstable; urgency=medium
+
+ * Add missing include to header, fixes FTBFS.
+ Closes: #822390
+
+ -- Sascha Steinbiss <sascha at steinbiss.name> Sun, 24 Apr 2016 12:08:34 +0000
+
kmc (2.3+dfsg-4) unstable; urgency=low
* Move LDFLAGS to end of linker call.
diff --git a/debian/patches/newish_gcc_build_fix.patch b/debian/patches/newish_gcc_build_fix.patch
new file mode 100644
index 0000000..3b66eb9
--- /dev/null
+++ b/debian/patches/newish_gcc_build_fix.patch
@@ -0,0 +1,19 @@
+Description: add required header for std::modf
+Author: Sascha Steinbiss <sascha at steinbiss.name>
+--- a/kmc_dump/nc_utils.h
++++ b/kmc_dump/nc_utils.h
+@@ -11,6 +11,7 @@
+ Date : 2015-08-21
+ */
+
++#include <cmath>
+ #include <string>
+ #include "../kmc_api/kmer_defs.h"
+
+@@ -135,4 +136,4 @@
+ }
+ };
+
+-#endif
+\ No newline at end of file
++#endif
diff --git a/debian/patches/series b/debian/patches/series
index 271460b..8db2963 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ hardening
0005-Add-static-library-target-to-makefile.patch
0007-Use-standard-compiler-environment-variables.patch
spelling
+newish_gcc_build_fix.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/kmc.git
More information about the debian-med-commit
mailing list