Change Debian patch to disable all compile warnings.

This commit is contained in:
Richard W.M. Jones 2012-08-10 17:51:11 +01:00
parent c86a174cf2
commit 19d7bd0be3
2 changed files with 8 additions and 3 deletions

View File

@ -2,7 +2,7 @@
Name: ocaml-omake
Version: 0.9.8.6
Release: 0.rc1%{?dist}.4
Release: 0.rc1%{?dist}.5
Summary: Build system with automated dependency analysis
Group: Development/Tools
@ -12,7 +12,7 @@ Source0: http://omake.metaprl.org/downloads/omake-%{version}-0.rc1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: sparc64 s390 s390x
Patch0: omake-debian-disable-ocaml312-warnings.patch
Patch0: omake-debian-disable-ocaml-warnings.patch
# omake can be used on non-OCaml projects (RHBZ#548536).
Provides: omake
@ -84,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Aug 10 2012 Richard W.M. Jones <rjones@redhat.com> - 0.9.8.6-0.rc1.4
- Change Debian patch to disable all compile warnings.
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8.6-0.rc1.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

View File

@ -1,5 +1,7 @@
Patch by Stephane Glondu.
Modified by RWMJ to remove all warnings.
--- omake-0.9.8.6.old/OMakefile 2010-10-27 01:42:37.000000000 +0100
+++ omake-0.9.8.6/OMakefile 2011-01-05 14:33:42.170895298 +0000
@@ -57,7 +57,7 @@
@ -7,7 +9,7 @@ Patch by Stephane Glondu.
# OCaml options
#
-OCAMLFLAGS[] += -w Ae$(if $(OCAML_ACCEPTS_Z_WARNING), z)
+OCAMLFLAGS[] += -w Aer-29$(if $(OCAML_ACCEPTS_Z_WARNING), z)
+OCAMLFLAGS[] +=
if $(THREADS_ENABLED)
OCAMLFLAGS += -thread
export