summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-08-29 14:30:09 +0200
committerDavid Seifert <soap@gentoo.org>2020-08-29 14:30:09 +0200
commitaafe737392a43a92dac2cd87ca068937d9d9df61 (patch)
treeb4ac7deb8bb7414ef4e76e766f9b08a49cf3dacb /sci-chemistry/chemtool/files
parentsci-chemistry/chemtool: Remove old (diff)
downloadgentoo-aafe737392a43a92dac2cd87ca068937d9d9df61.tar.gz
gentoo-aafe737392a43a92dac2cd87ca068937d9d9df61.tar.bz2
gentoo-aafe737392a43a92dac2cd87ca068937d9d9df61.zip
sci-chemistry/chemtool: Port to EAPI 7
* fix `-fno-common`/GCC 10 * fix broken check target Closes: https://bugs.gentoo.org/708234 Closes: https://bugs.gentoo.org/728954 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-chemistry/chemtool/files')
-rw-r--r--sci-chemistry/chemtool/files/chemtool-1.6.14-fix-tests.patch6
-rw-r--r--sci-chemistry/chemtool/files/chemtool-1.6.14-fno-common.patch37
-rw-r--r--sci-chemistry/chemtool/files/chemtool-1.6.14-no-underlinking.patch (renamed from sci-chemistry/chemtool/files/1.6.13-no-underlinking.patch)0
3 files changed, 43 insertions, 0 deletions
diff --git a/sci-chemistry/chemtool/files/chemtool-1.6.14-fix-tests.patch b/sci-chemistry/chemtool/files/chemtool-1.6.14-fix-tests.patch
new file mode 100644
index 000000000000..755ae3f01914
--- /dev/null
+++ b/sci-chemistry/chemtool/files/chemtool-1.6.14-fix-tests.patch
@@ -0,0 +1,6 @@
+--- /dev/null
++++ b/src-cht/Makefile.am
+@@ -0,0 +1,3 @@
++bin_PROGRAMS = cht
++
++cht_SOURCES = cht.c
diff --git a/sci-chemistry/chemtool/files/chemtool-1.6.14-fno-common.patch b/sci-chemistry/chemtool/files/chemtool-1.6.14-fno-common.patch
new file mode 100644
index 000000000000..d782f8e4a625
--- /dev/null
+++ b/sci-chemistry/chemtool/files/chemtool-1.6.14-fno-common.patch
@@ -0,0 +1,37 @@
+--- a/ct1.h
++++ b/ct1.h
+@@ -273,12 +273,12 @@
+ extern float importfactor;
+ extern int importoffset;
+
+-char **intype;
+-char **inmode;
+-int babelin;
+-char **outtype;
+-char **outmode;
+-int babelout;
++extern char **intype;
++extern char **inmode;
++extern int babelin;
++extern char **outtype;
++extern char **outmode;
++extern int babelout;
+ extern char *babel;
+ extern GdkGC *mygc[8],*background_gc,*hlgc;
+ extern int curpen;
+--- a/inout.c
++++ b/inout.c
+@@ -30,6 +30,13 @@
+ extern GdkFont *font[7],*smallfont[7],*symbfont[7],*boldfont[7],*slfont[7];
+ #endif
+
++char **intype;
++char **inmode;
++int babelin;
++char **outtype;
++char **outmode;
++int babelout;
++
+ static char babeloutp[4];
+
+ int
diff --git a/sci-chemistry/chemtool/files/1.6.13-no-underlinking.patch b/sci-chemistry/chemtool/files/chemtool-1.6.14-no-underlinking.patch
index 5d2fe36d6bf1..5d2fe36d6bf1 100644
--- a/sci-chemistry/chemtool/files/1.6.13-no-underlinking.patch
+++ b/sci-chemistry/chemtool/files/chemtool-1.6.14-no-underlinking.patch