summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2020-02-12 19:15:10 +0100
committerTupone Alfredo <tupone@gentoo.org>2020-02-12 19:15:10 +0100
commit16ede39343aeead19a64b86967da3401faf66018 (patch)
treeaf37b0aeb3d4730ac311f3cfefbe7a37f5643c4e /app-misc/geneweb/files
parentx11-themes/gnustep-neos-theme: [QA] inherit vcs-clean.eclass directly (diff)
downloadgentoo-16ede39343aeead19a64b86967da3401faf66018.tar.gz
gentoo-16ede39343aeead19a64b86967da3401faf66018.tar.bz2
gentoo-16ede39343aeead19a64b86967da3401faf66018.zip
app-misc/geneweb: fix build with ocaml-4.09
Bugs: https://bugs.gentoo.org/707312 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'app-misc/geneweb/files')
-rw-r--r--app-misc/geneweb/files/geneweb-6.08.01-gentoo.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/app-misc/geneweb/files/geneweb-6.08.01-gentoo.patch b/app-misc/geneweb/files/geneweb-6.08.01-gentoo.patch
new file mode 100644
index 000000000000..0226a05904a6
--- /dev/null
+++ b/app-misc/geneweb/files/geneweb-6.08.01-gentoo.patch
@@ -0,0 +1,30 @@
+--- a/setup/setup.ml 2007-08-07 19:25:13.000000000 +0200
++++ b/setup/setup.ml 2007-08-07 19:24:59.000000000 +0200
+@@ -5,8 +5,8 @@
+
+ value port = ref 2316;
+ value default_lang = ref "en";
+-value setup_dir = ref ".";
+-value bin_dir = ref "";
++value setup_dir = ref "/usr/share/geneweb";
++value bin_dir = ref "/usr/bin";
+ value lang_param = ref "";
+ value only_file = ref "";
+
+--- a/tools/Makefile.inc.unix 2017-03-06 08:15:45.334667626 +0100
++++ b/tools/Makefile.inc.unix 2017-03-06 08:16:10.162223399 +0100
+@@ -6,11 +6,11 @@
+ CAMLP5F=-DUNIX
+ CAMLP5D=+camlp5
+ LIBUNIX=-cclib -lunix
+-OCAMLC=ocamlc.opt -w -3 -warn-error +a-52 -safe-string
+-OCAMLOPT=ocamlopt.opt -w -3 -warn-error +a-52 -safe-string
++OCAMLC=ocamlc.opt -w -3 -safe-string
++OCAMLOPT=ocamlopt.opt -w -3 -safe-string
+ OCAMLI=
+ OCAMLD=
+-STRIP=strip
++STRIP=true
+ RM=/bin/rm -f
+ EXE=
+ STATIC=-ccopt -static