[Pkg-ocaml-maint-commits] [omake] 03/09: Disable fatal warnings (Closes: #737592)

Stéphane Glondu glondu at moszumanska.debian.org
Tue Feb 4 08:03:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository omake.

commit 9fc3e6130e0a52cc5db1079feeb5fb2691f726ce
Author: Stephane Glondu <steph at glondu.net>
Date:   Tue Feb 4 08:25:51 2014 +0100

    Disable fatal warnings (Closes: #737592)
---
 ...-in-OCaml-3.12.patch => 0004-Disable-fatal-warnings.patch} | 11 +++++++----
 debian/patches/series                                         |  2 +-
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/debian/patches/0004-Disable-warnings-introduced-in-OCaml-3.12.patch b/debian/patches/0004-Disable-fatal-warnings.patch
similarity index 60%
rename from debian/patches/0004-Disable-warnings-introduced-in-OCaml-3.12.patch
rename to debian/patches/0004-Disable-fatal-warnings.patch
index 44f33cc..f1b1345 100644
--- a/debian/patches/0004-Disable-warnings-introduced-in-OCaml-3.12.patch
+++ b/debian/patches/0004-Disable-fatal-warnings.patch
@@ -1,14 +1,17 @@
 From: Stephane Glondu <steph at glondu.net>
 Date: Mon, 3 May 2010 22:05:09 +0200
-Subject: Disable warnings introduced in OCaml 3.12
+Subject: Disable fatal warnings
 
-For compatibility with OCaml 3.12. Closes: #580091.
+For compatibility with OCaml 3.12 and higher.
+
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580091
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737592
 ---
  OMakefile | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/OMakefile b/OMakefile
-index 9b77a25..366f2e5 100644
+index 9b77a25..7de06de 100644
 --- a/OMakefile
 +++ b/OMakefile
 @@ -57,7 +57,7 @@ if $(not $(defined CAMLLIB))
@@ -16,7 +19,7 @@ index 9b77a25..366f2e5 100644
  # OCaml options
  #
 -OCAMLFLAGS[] += -w Ae$(if $(OCAML_ACCEPTS_Z_WARNING), z)
-+OCAMLFLAGS[] += -w Aer-29$(if $(OCAML_ACCEPTS_Z_WARNING), z)
++OCAMLFLAGS[] += -w a
  if $(THREADS_ENABLED)
      OCAMLFLAGS += -thread
      export
diff --git a/debian/patches/series b/debian/patches/series
index b35da3a..9846197 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,4 @@
 0001-stdin-stdout-fix-upstream-r12115.patch
 0002-Remove-useless-sync-external-declaration.patch
 0003-Fix-attempt-to-free-a-non-heap-object.patch
-0004-Disable-warnings-introduced-in-OCaml-3.12.patch
+0004-Disable-fatal-warnings.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/omake.git



More information about the Pkg-ocaml-maint-commits mailing list