[med-svn] [diamond-aligner] 04/07: Force the symbol with c++ explicit function template instantiation for the latter prototype instead of relying on implicit instantiation Upload and see, whether this will help to fix bug #865132
Andreas Tille
tille at debian.org
Mon Sep 18 13:16:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository diamond-aligner.
commit c87ab5636fecc62986a16653e7d3868a09897dda
Author: Andreas Tille <tille at debian.org>
Date: Mon Sep 18 13:34:03 2017 +0200
Force the symbol with c++ explicit function template instantiation for the latter prototype instead of relying on implicit instantiation
Upload and see, whether this will help to fix bug #865132
---
debian/changelog | 2 ++
debian/patches/avoid_unwanted_optimisation.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
3 files changed, 20 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index d29a6cd..0a98c20 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
diamond-aligner (0.9.10+dfsg-1) UNRELEASED; urgency=medium
* New upstream version
+ * Force the symbol with c++ explicit function template instantiation for the
+ latter prototype instead of relying on implicit instantiation
-- Andreas Tille <tille at debian.org> Mon, 18 Sep 2017 13:30:44 +0200
diff --git a/debian/patches/avoid_unwanted_optimisation.patch b/debian/patches/avoid_unwanted_optimisation.patch
new file mode 100644
index 0000000..75e25b3
--- /dev/null
+++ b/debian/patches/avoid_unwanted_optimisation.patch
@@ -0,0 +1,17 @@
+Author: Frédéric Bonnard <frediz at linux.vnet.ibm.com>
+Bug-Debian: https://bugs.debian.org/865132
+Last-Update: Wed, 28 Jun 2017 13:56:39 +0200
+Description: Force the symbol with c++ explicit function template instantiation for the latter
+ prototype instead of relying on implicit instantiation in needleman_wunsch.cpp
+
+--- a/src/dp/needleman_wunsch.cpp
++++ b/src/dp/needleman_wunsch.cpp
+@@ -322,4 +322,6 @@ void smith_waterman(sequence q, sequence
+ }
+ print_diag(i0, j0, l, score, diags, q, s);
+ print_hsp(hsp, q);
+-}
+\ No newline at end of file
++}
++
++template Fixed_score_buffer<int> const& needleman_wunsch<int, Local>(sequence, sequence, int&, Local const&, int const&);
diff --git a/debian/patches/series b/debian/patches/series
index 7261679..fca5787 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
drop_march_native_flag.patch
+avoid_unwanted_optimisation.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/diamond-aligner.git
More information about the debian-med-commit
mailing list