#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
cp ocaml_src/lib/versdep/4.02.{1,2}.ml
cp -a ocaml_stuff/4.02.{1,2}
+%patch0 -p1
%build
./configure \
--- /dev/null
+--- 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"