From 07f7ea501a7a6e2906b1412cc6e6095837d2dfeb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 9 Jul 2015 20:26:17 +0200 Subject: [PATCH] - one more ocaml 4.02.2 fix --- camlp5.spec | 2 ++ ocaml-4.02.2.patch | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 ocaml-4.02.2.patch 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" -- 2.43.0