summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAlexandre Mestiashvili <mestia@debian.org>2020-04-19 11:10:30 +0200
committerAlexandre Mestiashvili <mestia@debian.org>2020-04-19 11:10:30 +0200
commit62d5e31b6d3d85ad1031ce1d6a6b25baba8856ba (patch)
tree520c3cc18ba9fcda3efb027c795e08205094f301 /debian
parentc801da14953540bafd3005114d045776db47eb70 (diff)
Add patch fixing ftbfs with gcc10, thanks to Jun Aruga
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/gcc10_ftbfs_invalid_dquote_char.patch14
-rw-r--r--debian/patches/series1
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/gcc10_ftbfs_invalid_dquote_char.patch b/debian/patches/gcc10_ftbfs_invalid_dquote_char.patch
new file mode 100644
index 0000000..02698ae
--- /dev/null
+++ b/debian/patches/gcc10_ftbfs_invalid_dquote_char.patch
@@ -0,0 +1,14 @@
+From: mestia@debian.org
+Description: Use proper double quotes, see
+https://github.com/BenLangmead/bowtie2/issues/278
+--- bowtie2.orig/processor_support.h
++++ bowtie2/processor_support.h
+@@ -49,7 +49,7 @@
+ #elif defined(USING_GCC_COMPILER)
+ __get_cpuid(0x1, &regs.EAX, &regs.EBX, &regs.ECX, &regs.EDX);
+ #else
+- std::cerr << “ERROR: please define __cpuid() for this build.\n”;
++ std::cerr << "ERROR: please define __cpuid() for this build.\n";
+ assert(0);
+ #endif
+ if( !( (regs.ECX & BIT(20)) && (regs.ECX & BIT(23)) ) ) return false;
diff --git a/debian/patches/series b/debian/patches/series
index e11a345..917e463 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+gcc10_ftbfs_invalid_dquote_char.patch
drop-not-needed-js-from-manual.patch
wrong-interpreter-path.patch
hardening.patch