pacemaker/pacemaker-Wno-format-signedness.patch
Yan Gao 85ce16ce4a - Update to version 2.1.8+20240808.3980678f03 (Pacemaker-2.1.8):
- scheduler: correct format arguments
- libpacemaker: Don't apply colocation twice for promotion priority
- libpacemaker: Apply promotion priority to cloned group instance

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=403
2024-10-01 15:06:25 +00:00

18 lines
875 B
Diff

Index: pacemaker-2.1.4+20220825.b676a8701/configure.ac
===================================================================
--- pacemaker-2.1.4+20220825.b676a8701.orig/configure.ac
+++ pacemaker-2.1.4+20220825.b676a8701/configure.ac
@@ -1778,10 +1778,10 @@ dnl otherwise none of both
[
AC_DEFINE([HAVE_FORMAT_NONLITERAL], [],
[gcc can complain about nonliterals in format])
- EXTRA_FLAGS="$EXTRA_FLAGS -Wformat=2 -Wformat-nonliteral"
+ EXTRA_FLAGS="$EXTRA_FLAGS -Wformat=2 -Wformat-nonliteral -Wno-format-signedness"
],
[test x"$gcc_format_nonliteral" = x"yes"],
- [EXTRA_FLAGS="$EXTRA_FLAGS -Wformat=2"])
+ [EXTRA_FLAGS="$EXTRA_FLAGS -Wformat=2 -Wno-format-signedness"])
# Additional warnings it might be nice to enable one day
# -Wshadow