diff --git a/pacemaker-Wno-format-signedness.patch b/pacemaker-Wno-format-signedness.patch new file mode 100644 index 0000000..bd2f894 --- /dev/null +++ b/pacemaker-Wno-format-signedness.patch @@ -0,0 +1,13 @@ +Index: pacemaker-1.1.12.git20150129.3021d73/configure.ac +=================================================================== +--- pacemaker-1.1.12.git20150129.3021d73.orig/configure.ac 2015-02-24 13:22:11.748602751 +0100 ++++ pacemaker-1.1.12.git20150129.3021d73/configure.ac 2015-02-24 13:22:29.684800783 +0100 +@@ -1708,7 +1708,7 @@ else + -Wdeclaration-after-statement + -Wendif-labels + -Wfloat-equal +- -Wformat=2 ++ -Wformat=2 -Wno-format-signedness + -Wformat-security + -Wformat-nonliteral + -Wmissing-prototypes diff --git a/pacemaker.changes b/pacemaker.changes index b6f79ae..e5596da 100644 --- a/pacemaker.changes +++ b/pacemaker.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 24 12:26:27 UTC 2015 - rguenther@suse.com + +- Add pacemaker-Wno-format-signedness.patch to disable + -Wformat-signedness added by GCC 5 and enabled by -Wformat=2 + ------------------------------------------------------------------- Fri Jan 30 10:37:57 UTC 2015 - ygao@suse.com diff --git a/pacemaker.spec b/pacemaker.spec index b71affb..489adf9 100644 --- a/pacemaker.spec +++ b/pacemaker.spec @@ -115,6 +115,7 @@ Patch4: pacemaker-colocated-utilization.patch Patch5: pacemaker-cibsecret-tool-temp-disabled.patch Patch6: pacemaker-nagios-plugin-dir.patch Patch7: bug-812269_pacemaker-fencing-device-register-messages.patch +Patch8: pacemaker-Wno-format-signedness.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: pacemaker-ticket-support = 2.0 Conflicts: heartbeat < 3.0 @@ -396,6 +397,7 @@ manager for Corosync, CMAN and/or Linux-HA. %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 # Force the local time #