Blame SOURCES/0002-m4-guestfs-ocaml.m4-Fix-deprecated-warning-format.patch

3fcca0
From 662e12ba1a2c2f06151b0f06814e6da0025cff2d Mon Sep 17 00:00:00 2001
3fcca0
From: "Richard W.M. Jones" <rjones@redhat.com>
3fcca0
Date: Tue, 5 Oct 2021 20:51:19 +0100
3fcca0
Subject: [PATCH 2/5] m4/guestfs-ocaml.m4: Fix deprecated warning format
3fcca0
3fcca0
In OCaml 4.13:
3fcca0
3fcca0
Alert ocaml_deprecated_cli: Setting a warning with a sequence of lowercase or uppercase letters,
3fcca0
like 'CDEFLMPSUVYZX', is deprecated.
3fcca0
Use the equivalent signed form: +C+D+E+F+L+M+P+S+U+V+Y+Z+X+52-3.
3fcca0
3fcca0
(cherry picked from commit fa4f59e1d99c08d7e0bae2a7cb54f254a6506d67)
3fcca0
---
3fcca0
 m4/guestfs-ocaml.m4 | 2 +-
3fcca0
 1 file changed, 1 insertion(+), 1 deletion(-)
3fcca0
3fcca0
diff --git a/m4/guestfs-ocaml.m4 b/m4/guestfs-ocaml.m4
3fcca0
index f5ac7eff..d2b3804a 100644
3fcca0
--- a/m4/guestfs-ocaml.m4
3fcca0
+++ b/m4/guestfs-ocaml.m4
3fcca0
@@ -166,7 +166,7 @@ EOF
3fcca0
 ])
3fcca0
 
3fcca0
 dnl Flags we want to pass to every OCaml compiler call.
3fcca0
-OCAML_WARN_ERROR="-warn-error CDEFLMPSUVYZX+52-3"
3fcca0
+OCAML_WARN_ERROR="-warn-error +C+D+E+F+L+M+P+S+U+V+Y+Z+X+52-3"
3fcca0
 AC_SUBST([OCAML_WARN_ERROR])
3fcca0
 OCAML_FLAGS="-g -annot $safe_string_option"
3fcca0
 AC_SUBST([OCAML_FLAGS])
3fcca0
-- 
3fcca0
2.31.1
3fcca0