summaryrefslogtreecommitdiff
path: root/sci-biology/embassy-phylipnew
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /sci-biology/embassy-phylipnew
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'sci-biology/embassy-phylipnew')
-rw-r--r--sci-biology/embassy-phylipnew/Manifest5
-rw-r--r--sci-biology/embassy-phylipnew/embassy-phylipnew-3.69.660.ebuild7
-rw-r--r--sci-biology/embassy-phylipnew/files/embassy-phylipnew-3.69.650-fno-common.patch627
-rw-r--r--sci-biology/embassy-phylipnew/files/embassy-phylipnew-3.69.650_fix-build-system.patch34
4 files changed, 652 insertions, 21 deletions
diff --git a/sci-biology/embassy-phylipnew/Manifest b/sci-biology/embassy-phylipnew/Manifest
index 5fd9d2e68b89..cf5e861ca30d 100644
--- a/sci-biology/embassy-phylipnew/Manifest
+++ b/sci-biology/embassy-phylipnew/Manifest
@@ -1,4 +1,5 @@
-AUX embassy-phylipnew-3.69.650_fix-build-system.patch 3255 BLAKE2B 9dfa7b3fb97508e7807b5b3d3ddfa48b1bb78cff3b8e658a0ca786e3c472f997267252c39bde9bbea4311f7b2192c2a0553617a7991e43aca3aa66db289dec41 SHA512 a0d4dcb3e7d4ce9b5cbd68168ebe7c8d248aa1166a6a52a0a77031291af8d2d32af0243571b669b9318426f753251d983ebb9b96eb1da81b594f4f4d20d7c249
+AUX embassy-phylipnew-3.69.650-fno-common.patch 16289 BLAKE2B 346f5d704be918503a80ab224e1892953a2d1d6ef642e6ced95fcb1476954e09d983bd0eef1d6afe71d2c4e043a05a99dd92748151e337ac5d3646d91008c2e9 SHA512 0ea1f10865832a44647f0888eabef1df6e5baadace9fda782f171d52eef70fc7d8ef80317d46eaeb029896b8b0b4ca0d845561ae761daf406f7c26e18ebd1341
+AUX embassy-phylipnew-3.69.650_fix-build-system.patch 3019 BLAKE2B 39c2d7843ffac8c0a04c70d307d5651f2e53cc386c3a9b1f312d4fd53a9b9ba235a02931c4812a750da8711988e262b1c9a51a7152da20f61cd56c0d21607a89 SHA512 7d46280ffadcbc07e01d09a49a7896539a5c0c271979fcb3e1ffdf385051812adeaabec186c73e2105a710eee2fd340d89bbcbd4ecfa112879fb00cbc58c2dfe
DIST embassy-phylipnew-3.69.660.tar.gz 1741298 BLAKE2B 58a2c66ffb9c447fa17462bf54d7b8e65702701d74c1f16ec6906a3acaf076ebcab30982befe6334101bc483901132069a71ffa0e2334aaee0da02a30276b7f2 SHA512 b41a31285e05a418e4fbfae7241c3658fe458e3d5d84bff472d98b7c145340a55bee1d744b5c056d0e88407074947b5f37b2182c9cb800c8a8d43dfa76d026d5
-EBUILD embassy-phylipnew-3.69.660.ebuild 361 BLAKE2B 46ace0d20506300a83a423edd19d0305d4e7a072348a7355271dce004e896d92ebd04f2ff342060a5ee2c78f92bd9a6bbccb895eeef462891f78e08d49bcd553 SHA512 3836e21a22a375a4b58fc32b29bdf0481f7bd175b44a131069f6b68ee04d5b507732cc8cc8429afd47f4b26b853c54dd244cd1535a6209708b65989f11d7aa2e
+EBUILD embassy-phylipnew-3.69.660.ebuild 409 BLAKE2B 35bac3a33793b140470ef4c627b578317f22efdd7d9c71eeae947f0a6399d94829c5ceeb85d537616811f593b3b54eeda9c1f9bbf0710a20d3eba12891c0f07e SHA512 d088e1121fed9e50066767b58a4d2ea61e5ad5167293cc3780e9bec71f4613d144b985f96d235ab9665a94bff8703a005cdc86916d63cf593941a3e6aeac1165
MISC metadata.xml 347 BLAKE2B 2368d452e759747738601ae0e5e5e7181167badeaa28ed89aa8e07b55ebc9d2f1dbcd351cd5569a4548c307cfaa23b26756d88778c078685848db72dd9b094e7 SHA512 d6ddcfb5e3234d23f3c500a7234b0bc77ecdb0cf52f35f041ffdd444b8b3fefe7d0b3e89e5f7fb86da375647b7436ab1766b5bff186206e189045e38ade2056e
diff --git a/sci-biology/embassy-phylipnew/embassy-phylipnew-3.69.660.ebuild b/sci-biology/embassy-phylipnew/embassy-phylipnew-3.69.660.ebuild
index 3ac088ed6ef9..c5ba6a540bfc 100644
--- a/sci-biology/embassy-phylipnew/embassy-phylipnew-3.69.660.ebuild
+++ b/sci-biology/embassy-phylipnew/embassy-phylipnew-3.69.660.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -14,4 +14,7 @@ LICENSE+=" free-noncomm"
KEYWORDS="~amd64 ~x86 ~x86-linux"
S="${WORKDIR}/PHYLIPNEW-3.69.650"
-PATCHES=( "${FILESDIR}"/${PN}-3.69.650_fix-build-system.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.69.650_fix-build-system.patch
+ "${FILESDIR}"/${PN}-3.69.650-fno-common.patch
+)
diff --git a/sci-biology/embassy-phylipnew/files/embassy-phylipnew-3.69.650-fno-common.patch b/sci-biology/embassy-phylipnew/files/embassy-phylipnew-3.69.650-fno-common.patch
new file mode 100644
index 000000000000..448000547471
--- /dev/null
+++ b/sci-biology/embassy-phylipnew/files/embassy-phylipnew-3.69.650-fno-common.patch
@@ -0,0 +1,627 @@
+--- a/include/draw.h
++++ b/include/draw.h
+@@ -116,19 +116,19 @@
+
+
+ #ifndef X_DISPLAY_MISSING
+-Display *display; /* the X display */
++extern Display *display; /* the X display */
+ extern Window mainwin; /* the main display window */
+-int x, y; /* the corner of the window */
+-unsigned int width, height; /* the width and height of the window */
++extern int x, y; /* the corner of the window */
++extern unsigned int width, height; /* the width and height of the window */
+ #define FONT "-*-new century schoolbook-medium-r-*-*-14-*"
+-char *fontrsc; /* the font resource */
+-XFontStruct *fontst; /* the font strcture for the font */
+-XGCValues gcv; /* graphics context values */
+-GC gc1; /* a graphics context */
+-XtAppContext appcontext;
+-Widget toplevel;
+-int nargc;
+-char** nargv;
++extern char *fontrsc; /* the font resource */
++extern XFontStruct *fontst; /* the font strcture for the font */
++extern XGCValues gcv; /* graphics context values */
++extern GC gc1; /* a graphics context */
++extern XtAppContext appcontext;
++extern Widget toplevel;
++extern int nargc;
++extern char** nargv;
+ extern String res[16];
+
+ #define DEFGEOMETRY "600x400+20+50"
+--- a/include/phylip.h
++++ b/include/phylip.h
+@@ -349,7 +349,8 @@
+ extern AjPFile embossancfile;
+ extern AjPFile embossmixfile;
+ extern AjPFile embossfactfile;
+-extern long spp, words, bits;
++extern AjPPhyloState* phylostates;
++extern long spp, words, bits, outgrno;
+ extern boolean ibmpc, ansi, tranvsp;
+ extern naym *nayme; /* names of species */
+
+--- a/src/clique.c
++++ b/src/clique.c
+@@ -9,7 +9,6 @@
+
+ #define FormWide 80 /* width of outfile page */
+
+-AjPPhyloState* phylostates;
+ AjPPhyloProp phyloanc = NULL;
+ AjPPhyloProp phylofact = NULL;
+ AjPPhyloProp phyloweights = NULL;
+@@ -72,10 +71,8 @@
+ Char infilename[FNMLNGTH], ancfilename[FNMLNGTH], factfilename[FNMLNGTH], weightfilename[FNMLNGTH];
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+-long ActualChars, Cliqmin, outgrno,
++long ActualChars, Cliqmin,
+ col, ith, msets, setsz;
+ boolean ancvar, Clmin, Factors, outgropt, trout, weights, noroot, justwts,
+ printcomp, progress, treeprint, mulsets, firstset;
+--- a/src/cons.c
++++ b/src/cons.c
+@@ -6,7 +6,7 @@
+ Char intreename[FNMLNGTH], intree2name[FNMLNGTH];
+ node *root;
+
+-long numopts, outgrno, col, setsz;
++long numopts, col, setsz;
+ long maxgrp; /* max. no. of groups in all trees found */
+
+ boolean trout, firsttree, noroot, outgropt, didreroot, prntsets,
+--- a/src/consense.c
++++ b/src/consense.c
+@@ -19,8 +19,6 @@
+
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+ long trees_in;
+
+--- a/src/contml.c
++++ b/src/contml.c
+@@ -69,10 +69,8 @@
+
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+-long nonodes2, loci, totalleles, df, outgrno, col,
++long nonodes2, loci, totalleles, df, col,
+ datasets, ith, njumble, jumb=0;
+ long inseed, inseed0;
+ long *alleles, *locus, *weight;
+--- a/src/contrast.c
++++ b/src/contrast.c
+@@ -40,7 +40,6 @@
+
+
+ const char* outfilename;
+-AjPFile embossoutfile;
+
+
+
+--- a/src/discboot.c
++++ b/src/discboot.c
+@@ -56,7 +56,6 @@
+
+
+ const char* outfilename;
+-AjPFile embossoutfile;
+
+ const char* outweightfilename;
+ AjPFile embossoutweightfile;
+--- a/src/disc.c
++++ b/src/disc.c
+@@ -1,7 +1,6 @@
+ #include "phylip.h"
+ #include "disc.h"
+
+-AjPPhyloState* phylostates;
+
+ /* version 3.6. (c) Copyright 1993-2002 by the University of Washington.
+ Written by Joseph Felsenstein, Akiko Fuseki, Sean Lamont, and Andrew Keeffe.
+--- a/src/discrete.c
++++ b/src/discrete.c
+@@ -6,7 +6,7 @@
+ Permission is granted to copy and use this program provided no fee is
+ charged for it and provided that this copyright notice is not removed. */
+
+-long nonodes, endsite, outgrno, nextree, which;
++long nonodes, endsite, nextree, which;
+ boolean interleaved, printdata, outgropt, treeprint, dotdiff;
+ steptr weight, category, alias, location, ally;
+ sequence y, convtab;
+--- a/src/dnacomp.c
++++ b/src/dnacomp.c
+@@ -53,8 +53,6 @@
+
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+ node *root, *p;
+ long chars, col, ith, njumble, jumb, msets, numtrees;
+--- a/src/dnadist.c
++++ b/src/dnadist.c
+@@ -27,7 +27,6 @@
+
+ Char infilename[FNMLNGTH], catfilename[FNMLNGTH], weightfilename[FNMLNGTH];
+ const char* outfilename;
+-AjPFile embossoutfile;
+
+ long sites, categs, weightsum, datasets, ith, rcategs;
+ boolean freqsfrom, jukes, kimura, logdet, gama, invar, similarity, lower, f84,
+--- a/src/dnainvar.c
++++ b/src/dnainvar.c
+@@ -51,7 +51,6 @@
+ Char infilename[FNMLNGTH], weightfilename[FNMLNGTH];
+
+ const char* outfilename;
+-AjPFile embossoutfile;
+
+ long sites, msets, ith;
+ boolean weights, progress, prntpat, printinv, mulsets, firstset, justwts;
+--- a/src/dnaml.c
++++ b/src/dnaml.c
+@@ -93,12 +93,10 @@
+
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+ double *rate, *rrate, *probcat;
+ long nonodes2, sites, weightsum, categs, datasets, ith, njumble, jumb;
+-long parens, outgrno;
++long parens;
+ boolean freqsfrom, global, jumble, weights, trout, usertree,
+ ctgry, rctgry, auto_, hypstate, ttr, progress, mulsets, justwts,
+ firstset, improve, smoothit, polishing, lngths, gama, invar,inserting=false;
+--- a/src/dnamlk.c
++++ b/src/dnamlk.c
+@@ -119,8 +119,6 @@
+
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+ double *rrate;
+ long sites, weightsum, categs, datasets, ith, njumble, jumb, numtrees, shimotrees;
+ /* sites = number of sites in actual sequences
+--- a/src/dnamove.c
++++ b/src/dnamove.c
+@@ -127,7 +127,6 @@
+ node *root;
+
+ const char* outtreename;
+-AjPFile embossouttree;
+
+ long chars, screenlines, col, treelines, leftedge, topedge, vmargin,
+ hscroll, vscroll, scrollinc, screenwidth, farthest, whichtree, othertree;
+--- a/src/dnapenny.c
++++ b/src/dnapenny.c
+@@ -47,8 +47,6 @@
+
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+ node *root, *p;
+ long *zeros=NULL;
+ long chars, howmany, howoften, col, msets, ith;
+--- a/src/dollop.c
++++ b/src/dollop.c
+@@ -10,7 +10,6 @@
+
+ #define maxtrees 100 /* maximum number of tied trees stored */
+
+-AjPPhyloState* phylostates = NULL;
+ AjPPhyloProp phyloanc = NULL;
+ AjPPhyloProp phyloweights = NULL;
+ AjPPhyloTree* phylotrees = NULL;
+@@ -47,8 +46,6 @@
+
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+
+ node *root;
+--- a/src/dolmove.c
++++ b/src/dolmove.c
+@@ -11,7 +11,6 @@
+ #define overr 4
+ #define which 1
+
+-AjPPhyloState* phylostates = NULL;
+ AjPPhyloProp phyloanc = NULL;
+ AjPPhyloProp phylofact = NULL;
+ AjPPhyloProp phyloweights = NULL;
+@@ -73,10 +72,9 @@
+ Char infilename[FNMLNGTH],intreename[FNMLNGTH], ancfilename[FNMLNGTH], factfilename[FNMLNGTH], weightfilename[FNMLNGTH];
+
+ const char* outtreename;
+-AjPFile embossouttree;
+
+ node *root;
+-long outgrno, col, screenlines, screenwidth, scrollinc,treelines,
++long col, screenlines, screenwidth, scrollinc,treelines,
+ leftedge,topedge,vmargin,hscroll,vscroll,farthest;
+ /* outgrno indicates outgroup */
+ boolean weights, thresh, ancvar, questions, dollo, factors,
+--- a/src/dolpenny.c
++++ b/src/dolpenny.c
+@@ -15,7 +15,6 @@
+ typedef double *valptr;
+ typedef long *placeptr;
+
+-AjPPhyloState* phylostates = NULL;
+ AjPPhyloProp phyloanc = NULL;
+ AjPPhyloProp phyloweights = NULL;
+
+@@ -40,8 +39,6 @@
+ Char infilename[FNMLNGTH], weightfilename[FNMLNGTH], ancfilename[FNMLNGTH];
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+ node *root;
+ long howmany, howoften, col, msets, ith;
+--- a/src/draw.c
++++ b/src/draw.c
+@@ -10,6 +10,20 @@
+ #include "phylip.h"
+ #include "draw.h"
+
++#ifndef X_DISPLAY_MISSING
++Display *display;
++int x, y;
++unsigned int width, height;
++char *fontrsc;
++XFontStruct *fontst;
++XGCValues gcv;
++GC gc1;
++XtAppContext appcontext;
++Widget toplevel;
++int nargc;
++char** nargv;
++#endif
++
+ #ifdef QUICKC
+ struct videoconfig myscreen;
+ void setupgraphics();
+--- a/src/factor.c
++++ b/src/factor.c
+@@ -54,7 +54,6 @@
+ const char* outfactname;
+ const char* outancname;
+ AjPFile inputfile;
+-AjPFile embossoutfile;
+ AjPFile embossoutfact;
+ AjPFile embossoutanc;
+
+--- a/src/fitch.c
++++ b/src/fitch.c
+@@ -60,11 +60,9 @@
+
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+ Char infilename[FNMLNGTH], intreename[FNMLNGTH];
+-long nonodes2, outgrno, nums, col, datasets, ith, njumble, jumb=0, numtrees;
++long nonodes2, nums, col, datasets, ith, njumble, jumb=0, numtrees;
+ long inseed;
+ vector *x;
+ intvector *reps;
+--- a/src/freqboot.c
++++ b/src/freqboot.c
+@@ -52,7 +52,6 @@
+
+
+ const char* outfilename;
+-AjPFile embossoutfile;
+
+ const char* outweightfilename;
+ AjPFile embossoutweightfile;
+--- a/src/gendist.c
++++ b/src/gendist.c
+@@ -24,7 +24,6 @@
+ #endif
+
+ const char* outfilename;
+-AjPFile embossoutfile;
+
+ long loci, totalleles, df, datasets, ith;
+ long nonodes;
+--- a/src/kitsch.c
++++ b/src/kitsch.c
+@@ -51,8 +51,6 @@
+
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+
+ Char infilename[FNMLNGTH], intreename[FNMLNGTH];
+--- a/src/mix.c
++++ b/src/mix.c
+@@ -13,7 +13,6 @@
+
+ typedef long *placeptr;
+
+-AjPPhyloState* phylostates = NULL;
+ AjPPhyloProp phyloweights = NULL;
+ AjPPhyloProp phyloanc = NULL;
+ AjPPhyloProp phylomix = NULL;
+@@ -52,11 +51,9 @@
+ Char infilename[FNMLNGTH], intreename[FNMLNGTH], weightfilename[FNMLNGTH], ancfilename[FNMLNGTH], mixfilename[FNMLNGTH];
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+ node2 *root;
+-long outgrno, msets, ith, njumble, jumb, numtrees;
++long msets, ith, njumble, jumb, numtrees;
+ /* outgrno indicates outgroup */
+ long inseed, inseed0;
+ boolean jumble, usertree, weights, ancvar, questions, allsokal,
+--- a/src/move.c
++++ b/src/move.c
+@@ -13,7 +13,6 @@
+ #define which 1
+
+
+-AjPPhyloState* phylostates = NULL;
+ AjPPhyloProp phyloweights = NULL;
+ AjPPhyloProp phyloanc = NULL;
+ AjPPhyloProp phylomix = NULL;
+@@ -77,10 +76,9 @@
+
+ char infilename[FNMLNGTH],intreename[FNMLNGTH], weightfilename[FNMLNGTH], ancfilename[FNMLNGTH], mixfilename[FNMLNGTH], factfilename[FNMLNGTH];
+ const char* outtreename;
+-AjPFile embossouttree;
+
+ node *root;
+-long outgrno, screenlines, col, treelines, leftedge, topedge,
++long screenlines, col, treelines, leftedge, topedge,
+ vmargin, hscroll, vscroll, scrollinc, screenwidth, farthest;
+ /* outgrno indicates outgroup */
+ boolean weights, outgropt, ancvar, questions, allsokal,
+--- a/src/neighbor.c
++++ b/src/neighbor.c
+@@ -32,11 +32,9 @@
+
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+ Char infilename[FNMLNGTH];
+-long nonodes2, outgrno, col, datasets, ith;
++long nonodes2, col, datasets, ith;
+ long inseed;
+ vector *x;
+ intvector *reps;
+--- a/src/pars.c
++++ b/src/pars.c
+@@ -9,7 +9,6 @@
+
+ #define MAXNUMTREES 1000000 /* bigger than number of user trees can be */
+
+-AjPPhyloState* phylostates = NULL;
+ AjPPhyloProp phyloweights = NULL;
+ AjPPhyloTree* phylotrees = NULL;
+
+--- a/src/penny.c
++++ b/src/penny.c
+@@ -12,7 +12,6 @@
+ #define often 100 /* how often to notify how many trees examined */
+ #define many 1000 /* how many multiples of howoften before stop */
+
+-AjPPhyloState* phylostates = NULL;
+ AjPPhyloProp phyloweights = NULL;
+ AjPPhyloProp phyloanc = NULL;
+ AjPPhyloProp phylomix = NULL;
+@@ -44,11 +43,9 @@
+ Char infilename[FNMLNGTH], weightfilename[FNMLNGTH], ancfilename[FNMLNGTH], mixfilename[FNMLNGTH];
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+ node2 *root;
+-long outgrno, rno, howmany, howoften, col, msets, ith;
++long rno, howmany, howoften, col, msets, ith;
+ /* outgrno indicates outgroup */
+
+ boolean weights, ancvar, questions, allsokal, allwagner,
+--- a/src/phylip.c
++++ b/src/phylip.c
+@@ -46,7 +46,8 @@
+ AjPFile embossancfile;
+ AjPFile embossmixfile;
+ AjPFile embossfactfile;
+-long spp, words, bits;
++AjPPhyloState* phylostates = NULL;
++long spp, words, bits, outgrno;
+ boolean ibmpc, ansi, tranvsp;
+ naym *nayme; /* names of species */
+
+--- a/src/proml.c
++++ b/src/proml.c
+@@ -89,8 +89,6 @@
+ Char infilename[100], intreename[100], catfilename[100], weightfilename[100];
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+ double *rate, *rrate, *probcat;
+ long nonodes2, sites, weightsum, categs,
+--- a/src/promlk.c
++++ b/src/promlk.c
+@@ -88,8 +88,6 @@
+
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+ Char infilename[FNMLNGTH], intreename[FNMLNGTH],
+ catfilename[FNMLNGTH], weightfilename[FNMLNGTH];
+--- a/src/protdist.c
++++ b/src/protdist.c
+@@ -79,7 +79,6 @@
+ char infilename[100], catfilename[100], weightfilename[100];
+
+ const char* outfilename;
+-AjPFile embossoutfile;
+
+
+ /* Local variables for makedists, propagated globally for c version: */
+--- a/src/protpars.c
++++ b/src/protpars.c
+@@ -76,8 +76,6 @@
+
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+ node *root;
+ long chars, col, msets, ith, njumble, jumb, numtrees;
+--- a/src/restboot.c
++++ b/src/restboot.c
+@@ -54,7 +54,6 @@
+
+
+ const char* outfilename;
+-AjPFile embossoutfile;
+
+ const char* outweightfilename;
+ AjPFile embossoutweightfile;
+--- a/src/restdist.c
++++ b/src/restdist.c
+@@ -13,7 +13,6 @@
+
+ extern sequence y;
+
+-AjPPhyloState* phylostates = NULL;
+
+
+ #ifndef OLDC
+@@ -40,7 +39,6 @@
+ Char infilename[FNMLNGTH];
+
+ const char* outfilename;
+-AjPFile embossoutfile;
+
+ long sites, weightsum, datasets, ith;
+ boolean restsites, neili, gama, weights, lower,
+--- a/src/restml.c
++++ b/src/restml.c
+@@ -17,7 +17,6 @@
+
+ AjPPhyloProp phyloweights = NULL;
+ AjPPhyloTree* phylotrees;
+-AjPPhyloState* phylostates = NULL;
+
+ #ifndef OLDC
+ /* function prototypes */
+@@ -101,8 +100,6 @@
+
+ const char* outfilename;
+ const char* outtreename;
+-AjPFile embossoutfile;
+-AjPFile embossouttree;
+
+
+ ajint numwts;
+--- a/src/retree.c
++++ b/src/retree.c
+@@ -123,7 +123,7 @@
+
+ node *root, *garbage;
+
+-long nonodes, outgrno, screenwidth, vscreenwidth,
++long nonodes, screenwidth, vscreenwidth,
+ screenlines, col, treenumber, leftedge, topedge, treelines,
+ hscroll, vscroll, scrollinc, whichtree, othertree,
+ numtrees, treesread;
+@@ -145,7 +145,6 @@
+ char intreename[FNMLNGTH];
+
+ const char* outtreename;
+-AjPFile embossouttree;
+
+ boolean subtree, written, readnext;
+ node *nuroot;
+--- a/src/seqbootall.c
++++ b/src/seqbootall.c
+@@ -109,7 +109,6 @@
+
+
+ const char* outfilename;
+-AjPFile embossoutfile;
+
+ const char* outweightfilename;
+ AjPFile embossoutweightfile;
+--- a/src/seqboot.c
++++ b/src/seqboot.c
+@@ -92,7 +92,6 @@
+
+
+ const char* outfilename;
+-AjPFile embossoutfile;
+
+ const char* outweightfilename;
+ AjPFile embossoutweightfile;
+--- a/src/seq.c
++++ b/src/seq.c
+@@ -7,7 +7,7 @@
+ Permission is granted to copy and use this program provided no fee is
+ charged for it and provided that this copyright notice is not removed. */
+
+-long nonodes, endsite, outgrno, nextree, which;
++long nonodes, endsite, nextree, which;
+ boolean interleaved, printdata, outgropt, treeprint, dotdiff, transvp;
+ steptr weight, category, alias, location, ally;
+ sequence y;
+--- a/src/treedist.c
++++ b/src/treedist.c
+@@ -16,7 +16,6 @@
+ extern node *root;
+
+ const char* outfilename;
+-AjPFile embossoutfile;
+
+ long trees_in_1, trees_in_2;
+
+--- a/src/treedistpair.c
++++ b/src/treedistpair.c
+@@ -16,7 +16,6 @@
+ extern node *root;
+
+ const char* outfilename;
+-AjPFile embossoutfile;
+
+ long trees_in_1, trees_in_2;
+
diff --git a/sci-biology/embassy-phylipnew/files/embassy-phylipnew-3.69.650_fix-build-system.patch b/sci-biology/embassy-phylipnew/files/embassy-phylipnew-3.69.650_fix-build-system.patch
index 1cba944094a2..95951e632188 100644
--- a/sci-biology/embassy-phylipnew/files/embassy-phylipnew-3.69.650_fix-build-system.patch
+++ b/sci-biology/embassy-phylipnew/files/embassy-phylipnew-3.69.650_fix-build-system.patch
@@ -1,13 +1,6 @@
- configure.ac | 49 +++++++------------------------------------------
- emboss_acd/Makefile.am | 2 +-
- src/Makefile.am | 7 ++-----
- 3 files changed, 10 insertions(+), 48 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index e5bfaf1..09ed517 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -635,33 +635,6 @@ AS_CASE([${host_os}],
+@@ -635,33 +635,6 @@
@@ -41,7 +34,7 @@ index e5bfaf1..09ed517 100644
dnl FIXME: This does no longer seem required with Autoconf 2.67?
dnl Intel MacOSX 10.6 puts X11 in a non-standard place
dnl AS_IF([test "x${with_x}" != "xno"],
-@@ -781,21 +754,6 @@ AX_LIB_POSTGRESQL
+@@ -781,21 +754,6 @@
@@ -63,7 +56,7 @@ index e5bfaf1..09ed517 100644
dnl Test if --enable-localforce given
locallink="no"
embprefix="/usr/local"
-@@ -918,6 +876,13 @@ AC_ARG_ENABLE([systemlibs],
+@@ -918,6 +876,13 @@
AM_CONDITIONAL([ESYSTEMLIBS], [test "x${enable_systemlibs}" = "xyes"])
@@ -77,8 +70,6 @@ index e5bfaf1..09ed517 100644
# Enable the purify tool: --enable-purify, sets CC and LIBTOOL
-diff --git a/emboss_acd/Makefile.am b/emboss_acd/Makefile.am
-index e1c1878..e253c95 100644
--- a/emboss_acd/Makefile.am
+++ b/emboss_acd/Makefile.am
@@ -1,3 +1,3 @@
@@ -86,11 +77,9 @@ index e1c1878..e253c95 100644
-pkgdata_DATA = *.acd
+pkgdata_DATA = $(srcdir)/*.acd
pkgdatadir=$(prefix)/share/EMBOSS/acd
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 1883ce9..fb1787f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
-@@ -16,10 +16,7 @@ AM_CPPFLAGS = -I../include -I../../../nucleus -I../../../ajax/pcre \
+@@ -16,10 +16,7 @@
-I../../../ajax/ensembl -I../../../ajax/ajaxdb \
-I../../../ajax/acd -I../../../plplot
else
@@ -102,10 +91,21 @@ index 1883ce9..fb1787f 100644
endif
if ISSHARED
-@@ -120,5 +117,5 @@ LDADD = ../../../nucleus/libnucleus.la ../../../ajax/acd/libacd.la \
+@@ -34,7 +31,7 @@
+ -lnucleus -lacd -lajaxdb -lensembl -lajaxg -lajax -lepcre \
+ $(NLAIXLIBS) -leplplot
+ else
+-AIX_CFLAGS = -Wl,-bdynamic -Wl,-brtl -L${embprefix}/lib -lnucleus -lacd \
++AIX_CFLAGS = -Wl,-bdynamic -Wl,-brtl -lnucleus -lacd \
+ -lajaxdb -lensembl -lajaxg -lajax -lepcre $(NLAIXLIBS) -leplplot
+ endif
+ endif
+@@ -119,6 +116,6 @@
+ ../../../ajax/pcre/libepcre.la \
../../../plplot/libeplplot.la $(XLIB)
else
- LDADD = -L${embprefix}/lib -lnucleus -lacd -lajaxdb -lensembl -lajaxg \
+-LDADD = -L${embprefix}/lib -lnucleus -lacd -lajaxdb -lensembl -lajaxg \
- -lajax -lepcre $(NLADD) -leplplot $(XLIB)
++LDADD = -lnucleus -lacd -lajaxdb -lensembl -lajaxg \
+ -lajax $(NLADD) $(XLIB)
endif