From: Jan Rękorajski Date: Thu, 9 Jul 2015 18:26:17 +0000 (+0200) Subject: - one more ocaml 4.02.2 fix X-Git-Tag: auto/th/camlp5-6.12-2~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcamlp5.git;a=commitdiff_plain;h=07f7ea5 - one more ocaml 4.02.2 fix --- diff --git a/camlp5.spec b/camlp5.spec index ca36c0e..af58a41 100644 --- a/camlp5.spec +++ b/camlp5.spec @@ -10,6 +10,7 @@ Source0: http://pauillac.inria.fr/~ddr/camlp5/distrib/src/%{name}-%{version}.tgz #Source1: http://pauillac.inria.fr/~ddr/camlp5/doc/pdf/%{name}-%{version}.pdf Source1: http://pauillac.inria.fr/~ddr/camlp5/doc/pdf/%{name}-6.00.pdf # Source1-md5: b241eabfeb48f22b0fbd3e497198a76a +Patch0: ocaml-4.02.2.patch URL: http://caml.inria.fr/ BuildRequires: db-devel >= 4.1 BuildRequires: ocaml @@ -63,6 +64,7 @@ cp %{SOURCE1} doc/camlp4.pdf cp ocaml_src/lib/versdep/4.02.{1,2}.ml cp -a ocaml_stuff/4.02.{1,2} +%patch0 -p1 %build ./configure \ diff --git a/ocaml-4.02.2.patch b/ocaml-4.02.2.patch new file mode 100644 index 0000000..6fd012f --- /dev/null +++ b/ocaml-4.02.2.patch @@ -0,0 +1,8 @@ +--- camlp5-6.12/ocaml_stuff/4.02.2/utils/pconfig.ml~ 2014-09-19 08:53:41.000000000 +0200 ++++ camlp5-6.12/ocaml_stuff/4.02.2/utils/pconfig.ml 2015-07-09 20:23:00.812336784 +0200 +@@ -1,4 +1,4 @@ +-let ocaml_version = "4.02.1" ++let ocaml_version = "4.02.2" + let ocaml_name = "ocaml" + let ast_impl_magic_number = "Caml1999M016" + let ast_intf_magic_number = "Caml1999N015"