Date: Thu, 20 Aug 2020 17:07:04 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545542 - head/biology/paml/files Message-ID: <202008201707.07KH7434001082@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Thu Aug 20 17:07:03 2020 New Revision: 545542 URL: https://svnweb.freebsd.org/changeset/ports/545542 Log: biology/paml: fix the build with LLVM 11 LLVM 11 switched from -fcommon to -fno-common by default. This revealed a slight misposition of names in paml.h, which caused one symbol per enum that's not used anywhere. The fix just moves the names back so that the enums are named that, rather than creating new unused symbols. Reviewed by: zeising Approved by: jrm (maintainer) MFH: 2020Q3 Added: head/biology/paml/files/ head/biology/paml/files/patch-src_paml.h (contents, props changed) Added: head/biology/paml/files/patch-src_paml.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/biology/paml/files/patch-src_paml.h Thu Aug 20 17:07:03 2020 (r545542) @@ -0,0 +1,14 @@ +--- src/paml.h.orig 2020-08-20 16:14:50 UTC ++++ src/paml.h +@@ -372,9 +372,9 @@ void copySptree(void); + void printSptree(void); + + +-enum {BASEseq=0, CODONseq, AAseq, CODON2AAseq, BINARYseq, BASE5seq} SeqTypes; ++enum SeqTypes {BASEseq=0, CODONseq, AAseq, CODON2AAseq, BINARYseq, BASE5seq}; + +-enum {PrBranch=1, PrNodeNum=2, PrLabel=4, PrNodeStr=8, PrAge=16, PrOmega=32} OutTreeOptions; ++enum OutTreeOptions {PrBranch=1, PrNodeNum=2, PrLabel=4, PrNodeStr=8, PrAge=16, PrOmega=32}; + + + /* use mean (0; default) for discrete gamma instead of median (1) */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008201707.07KH7434001082>