svn commit: r545542 - head/biology/paml/files
Kyle Evans
kevans at FreeBSD.org
Thu Aug 20 17:07:04 UTC 2020
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) */
More information about the svn-ports-all
mailing list