From 62d5e31b6d3d85ad1031ce1d6a6b25baba8856ba Mon Sep 17 00:00:00 2001 From: Alexandre Mestiashvili Date: Sun, 19 Apr 2020 11:10:30 +0200 Subject: Add patch fixing ftbfs with gcc10, thanks to Jun Aruga --- debian/patches/gcc10_ftbfs_invalid_dquote_char.patch | 14 ++++++++++++++ debian/patches/series | 1 + 2 files changed, 15 insertions(+) create mode 100644 debian/patches/gcc10_ftbfs_invalid_dquote_char.patch (limited to 'debian') 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, ®s.EAX, ®s.EBX, ®s.ECX, ®s.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 -- cgit v1.2.3