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
This commit is contained in:
Yan Gao 2012-07-30 02:03:55 +00:00 committed by Git OBS Bridge
parent ea77811709
commit 75dab286b7
3 changed files with 19 additions and 0 deletions

12
pacemaker-resource.patch Normal file
View File

@ -0,0 +1,12 @@
Index: pacemaker/mcp/pacemaker.c
===================================================================
--- pacemaker.orig/mcp/pacemaker.c
+++ pacemaker/mcp/pacemaker.c
@@ -20,6 +20,7 @@
#include <pacemaker.h>
#include <pwd.h>
+#include <sys/resource.h>
#include <crm/msg_xml.h>
#include <crm/common/ipc.h>

View File

@ -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 Wed Jun 6 08:15:34 UTC 2012 - ygao@suse.com

View File

@ -50,6 +50,7 @@ Patch2: pacemaker-daemon-symlinks.diff
Patch3: bug-728579_pacemaker-stonith-dev-id.diff Patch3: bug-728579_pacemaker-stonith-dev-id.diff
Patch4: pacemaker-NodeUtilization-RA.diff Patch4: pacemaker-NodeUtilization-RA.diff
Patch5: pacemaker-crm-proc-flag.patch Patch5: pacemaker-crm-proc-flag.patch
Patch6: pacemaker-resource.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: pacemaker-ticket-support = 2.0 Provides: pacemaker-ticket-support = 2.0
Conflicts: heartbeat < 3.0 Conflicts: heartbeat < 3.0
@ -192,6 +193,7 @@ Authors:
%patch3 -p1 %patch3 -p1
%patch4 -p1 %patch4 -p1
%patch5 -p1 %patch5 -p1
%patch6 -p1
########################################################### ###########################################################
%build %build