aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-08-20 21:11:43 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-08-20 21:11:43 +0000
commite8608b73faaf9ccc22582392ce7163591d0ea93d (patch)
treeafbda75b32f47a6947c9bdf478ff34ed6b199eb3 /biology
parent1082f9499725e7306ec624f20dccc65f6d726459 (diff)
downloadports-e8608b73faaf9ccc22582392ce7163591d0ea93d.tar.gz
ports-e8608b73faaf9ccc22582392ce7163591d0ea93d.zip
MFH: r545542
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) Approved by: ports-secteam (joneum)
Notes
Notes: svn path=/branches/2020Q3/; revision=545561
Diffstat (limited to 'biology')
-rw-r--r--biology/paml/files/patch-src_paml.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/biology/paml/files/patch-src_paml.h b/biology/paml/files/patch-src_paml.h
new file mode 100644
index 000000000000..c7e35c89038f
--- /dev/null
+++ b/biology/paml/files/patch-src_paml.h
@@ -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) */