biology/bowtie: Unbreak build with GCC 10

In file included from ebwt.h:43,
                 from ebwt_build.cpp:11:
processor_support.h:52:22: error: extended character “ is not valid in an identifier
   52 |         std::cerr << “ERROR: please define __cpuid() for this build.\n”;
      |                      ^
processor_support.h:52:72: error: extended character ” is not valid in an identifier
   52 |         std::cerr << “ERROR: please define __cpuid() for this build.\n”;
      |                                                                      ^

http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/bowtie-1.1.2_9.log

PR:		246700
This commit is contained in:
Tobias Kortkamp 2020-07-04 10:46:08 +00:00
parent cd7742426e
commit 4636ef2c1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541191

View File

@ -0,0 +1,11 @@
--- processor_support.h.orig 2020-07-04 10:42:26 UTC
+++ processor_support.h
@@ -49,7 +49,7 @@ class ProcessorSupport { (public)
#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;