[ocaml-preludeml] Kill -warn-error option which caused failure to build on OCaml 4.02.

Richard W.M. Jones rjones at fedoraproject.org
Mon Aug 18 09:08:53 UTC 2014


commit 93c76118751d7a0884363325b470dfce17c7645d
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Mon Aug 18 10:08:36 2014 +0100

    Kill -warn-error option which caused failure to build on OCaml 4.02.

 ocaml-preludeml.spec                     |    8 +++++++-
 preludeml-20100314-kill-warn-error.patch |   11 +++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/ocaml-preludeml.spec b/ocaml-preludeml.spec
index 5b94e39..23cf871 100644
--- a/ocaml-preludeml.spec
+++ b/ocaml-preludeml.spec
@@ -8,7 +8,7 @@
 
 Name:           ocaml-preludeml
 Version:        0.1
-Release:        0.28.%{gitdate}%{?dist}
+Release:        0.29.%{gitdate}%{?dist}
 Summary:        OCaml utility functions
 License:        MIT
 
@@ -21,6 +21,9 @@ ExcludeArch:    sparc64 s390 s390x
 URL:            http://github.com/kig/preludeml/tree/master
 Source0:        preludeml-%{gitdate}.tar.bz2
 
+# Kill -warn-error option which caused failure to build on OCaml 4.02.
+Patch1:         preludeml-20100314-kill-warn-error.patch
+
 BuildRequires:  ocaml >= 3.10.0
 BuildRequires:  ocaml-findlib-devel
 BuildRequires:  ocaml-pcre-devel
@@ -110,6 +113,9 @@ ocamlfind install preludeml \
 
 
 %changelog
+* Mon Aug 18 2014 Richard W.M. Jones <rjones at redhat.com> - 0.1-0.29.20100314
+- Kill -warn-error option which caused failure to build on OCaml 4.02.
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1-0.28.20100314
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
diff --git a/preludeml-20100314-kill-warn-error.patch b/preludeml-20100314-kill-warn-error.patch
new file mode 100644
index 0000000..b8db528
--- /dev/null
+++ b/preludeml-20100314-kill-warn-error.patch
@@ -0,0 +1,11 @@
+--- preludeml.old/OMakefile	2011-01-07 14:18:45.000000000 +0000
++++ preludeml/OMakefile	2014-08-18 10:06:44.689770815 +0100
+@@ -2,6 +2,8 @@
+ 
+ USE_OCAMLFIND = true
+ 
++OCAMLFLAGS =
++
+ .PHONY: clean
+ clean:
+ 	rm -f *.cmi *.cmo *.cmx *.cmxa *.cma *.annot *.s *.o *.opt \


More information about the scm-commits mailing list