[ocaml-p3l] Rebuild for ocaml-4.02.0-0.8.git10e45753.fc22.
Richard W.M. Jones
rjones at fedoraproject.org
Sat Aug 2 19:16:16 UTC 2014
commit 97c8d898ff386c7d9b3c0db27689fe95ca5876b6
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Sat Aug 2 20:15:42 2014 +0100
Rebuild for ocaml-4.02.0-0.8.git10e45753.fc22.
ocaml-p3l.spec | 9 ++++++++-
ocamlp3l-2.03-fix-warn-error.patch | 13 +++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/ocaml-p3l.spec b/ocaml-p3l.spec
index e7cfd81..e85ec5e 100644
--- a/ocaml-p3l.spec
+++ b/ocaml-p3l.spec
@@ -2,7 +2,7 @@
Name: ocaml-p3l
Version: 2.03
-Release: 17%{?dist}
+Release: 18%{?dist}
Summary: OCaml compiler for parallel programs
License: LGPLv2+ with exceptions
@@ -19,6 +19,9 @@ Patch1: debian-02-install-mli.patch
# Fix for new OCaml Marshal flags in OCaml 4.01.0.
Patch2: ocamlp3l-2.03-fix-ocaml-marshal.patch
+# Fix for warning about immutable strings, OCaml 4.02.
+Patch3: ocamlp3l-2.03-fix-warn-error.patch
+
BuildRequires: ocaml >= 3.10.0
BuildRequires: ocaml-ocamldoc
@@ -70,6 +73,7 @@ documentation for %{name}.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
@@ -123,6 +127,9 @@ cp %{SOURCE1} README.Fedora
%changelog
+* Sat Aug 02 2014 Richard W.M. Jones <rjones at redhat.com> - 2.03-18
+- Rebuild for ocaml-4.02.0-0.8.git10e45753.fc22.
+
* Mon Jul 21 2014 Richard W.M. Jones <rjones at redhat.com> - 2.03-17
- OCaml 4.02.0 beta rebuild.
diff --git a/ocamlp3l-2.03-fix-warn-error.patch b/ocamlp3l-2.03-fix-warn-error.patch
new file mode 100644
index 0000000..b0ad3e8
--- /dev/null
+++ b/ocamlp3l-2.03-fix-warn-error.patch
@@ -0,0 +1,13 @@
+--- ocamlp3l-2.03.old/makefile.application 2007-01-23 17:13:34.000000000 +0000
++++ ocamlp3l-2.03/makefile.application 2014-08-02 20:14:20.669271938 +0100
+@@ -46,8 +46,8 @@
+ MODEL = process
+
+ # Caml commands
+-CAMLCBYTFLAGS = -warn-error A -g
+-CAMLCBINFLAGS = -warn-error A -inline 10000 -noassert
++CAMLCBYTFLAGS = -warn-error A-3 -g
++CAMLCBINFLAGS = -warn-error A-3 -inline 10000 -noassert
+ CAMLCBYT = ocamlc $(CAMLCBYTFLAGS)
+ CAMLCBIN = ocamlopt $(CAMLCBINFLAGS)
+
More information about the scm-commits
mailing list