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
This commit is contained in:
Kyle Evans 2020-08-20 17:07:03 +00:00
parent f6d6453c70
commit 349be39472
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545542

View File

@ -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) */