From 75dab286b7b8e1fc81fe0d3a3fdb3e90f1d95da41e2a528bb810cd35c1d5262e Mon Sep 17 00:00:00 2001 From: Yan Gao Date: Mon, 30 Jul 2012 02:03:55 +0000 Subject: [PATCH] Accepting request 129167 from home:a_jaeger:FactoryFix Include sys/resource.h for getrlimit etc. OBS-URL: https://build.opensuse.org/request/show/129167 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=41 --- pacemaker-resource.patch | 12 ++++++++++++ pacemaker.changes | 5 +++++ pacemaker.spec | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 pacemaker-resource.patch diff --git a/pacemaker-resource.patch b/pacemaker-resource.patch new file mode 100644 index 0000000..ff09cf5 --- /dev/null +++ b/pacemaker-resource.patch @@ -0,0 +1,12 @@ +Index: pacemaker/mcp/pacemaker.c +=================================================================== +--- pacemaker.orig/mcp/pacemaker.c ++++ pacemaker/mcp/pacemaker.c +@@ -20,6 +20,7 @@ + #include + + #include ++#include + + #include + #include diff --git a/pacemaker.changes b/pacemaker.changes index ced044d..3a26b8a 100644 --- a/pacemaker.changes +++ b/pacemaker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jul 28 14:21:29 UTC 2012 - aj@suse.de + +- Include sys/resource.h for getrlimit etc. + ------------------------------------------------------------------- Wed Jun 6 08:15:34 UTC 2012 - ygao@suse.com diff --git a/pacemaker.spec b/pacemaker.spec index 87e1e72..795c931 100644 --- a/pacemaker.spec +++ b/pacemaker.spec @@ -50,6 +50,7 @@ Patch2: pacemaker-daemon-symlinks.diff Patch3: bug-728579_pacemaker-stonith-dev-id.diff Patch4: pacemaker-NodeUtilization-RA.diff Patch5: pacemaker-crm-proc-flag.patch +Patch6: pacemaker-resource.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: pacemaker-ticket-support = 2.0 Conflicts: heartbeat < 3.0 @@ -192,6 +193,7 @@ Authors: %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 ########################################################### %build