diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /sci-biology/phylip/files/phylip-3.698-fno-common.patch | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'sci-biology/phylip/files/phylip-3.698-fno-common.patch')
-rw-r--r-- | sci-biology/phylip/files/phylip-3.698-fno-common.patch | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/sci-biology/phylip/files/phylip-3.698-fno-common.patch b/sci-biology/phylip/files/phylip-3.698-fno-common.patch new file mode 100644 index 000000000000..986b1d9650ab --- /dev/null +++ b/sci-biology/phylip/files/phylip-3.698-fno-common.patch @@ -0,0 +1,70 @@ +--- a/src/draw.c ++++ b/src/draw.c +@@ -34,6 +34,11 @@ +
+ char fontname[LARGE_BUF_LENGTH];
+
++long treecolor, namecolor, backcolor, bottomcolor, vrmlskycolornear, vrmlskycolorfar,
++ vrmlgroundcolornear, vrmlgroundcolorfar, vrmlplotcolor;
++
++char afmfile[FNMLNGTH];
++
+ /* format of matrix: capheight, length[32],length[33],..length[256]*/
+
+ byte *full_pic ;
+--- a/src/draw.h ++++ b/src/draw.h +@@ -52,10 +52,10 @@ + double intensity, x, y, z;
+ } vrmllighttype;
+
+-long treecolor, namecolor, backcolor, bottomcolor, vrmlskycolornear, vrmlskycolorfar,
++extern long treecolor, namecolor, backcolor, bottomcolor, vrmlskycolornear, vrmlskycolorfar,
+ vrmlgroundcolornear, vrmlgroundcolorfar, vrmlplotcolor;
+
+-char afmfile[FNMLNGTH];
++extern char afmfile[FNMLNGTH];
+
+ double lengthtext(char *, long, char *, fonttype);
+ double heighttext(fonttype, char *);
+--- a/src/drawtree.c ++++ b/src/drawtree.c +@@ -69,7 +69,7 @@ + uselengths, regular, rotate, empty, rescaled,
+ notfirst, improve, nbody, firstscreens, labelavoid;
+ boolean pictbold,pictitalic,pictshadow,pictoutline;
+-boolean javarun;
++extern boolean javarun;
+
+ striptype stripe;
+ plottertype plotter, oldplotter;
+--- a/src/phylip.c ++++ b/src/phylip.c +@@ -34,6 +34,8 @@ +
+ #include "phylip.h"
+
++boolean javarun;
++
+ #ifdef WIN32
+ #include <windows.h>
+ /* for console code (clear screen, text color settings) */
+--- a/src/phylip.h ++++ b/src/phylip.h +@@ -331,7 +331,7 @@ + /* Lower-triangular format. */
+ #define MAT_LOWERTRI (MAT_LOWER | MAT_MACHINE)
+
+-boolean javarun;
++extern boolean javarun;
+
+ typedef long *steptr;
+ typedef long longer[6];
+@@ -351,7 +351,6 @@ + extern long spp, words, bits;
+ extern boolean ibmpc, ansi, tranvsp;
+ extern naym *nayme; /* names of species */
+-boolean firstplotblock; // for debugging BMP output
+
+ #define ebcdic EBCDIC
+
|