From fa8c282729da98a59e820ab5d99d6b5860422f4afbcbfa6b384d703b157107a6 Mon Sep 17 00:00:00 2001 From: Yan Gao Date: Tue, 24 Feb 2015 12:54:28 +0000 Subject: [PATCH] Accepting request 287506 from home:rguenther:branches:network:ha-clustering:Factory - Add pacemaker-Wno-format-signedness.patch to disable -Wformat-signedness added by GCC 5 and enabled by -Wformat=2 OBS-URL: https://build.opensuse.org/request/show/287506 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=186 --- pacemaker-Wno-format-signedness.patch | 13 +++++++++++++ pacemaker.changes | 6 ++++++ pacemaker.spec | 2 ++ 3 files changed, 21 insertions(+) create mode 100644 pacemaker-Wno-format-signedness.patch 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 #