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