Accepting request 129180 from home:a_jaeger:FactoryFix

Include sys/resource.h for getrlimit etc.

OBS-URL: https://build.opensuse.org/request/show/129180
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=38
This commit is contained in:
Yan Gao 2012-07-30 02:03:55 +00:00 committed by Git OBS Bridge
parent adbb5de233
commit 7729e31800
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,12 @@
Index: ocfs2-tools/ocfs2_hb_ctl/ocfs2_hb_ctl.c
===================================================================
--- ocfs2-tools.orig/ocfs2_hb_ctl/ocfs2_hb_ctl.c
+++ ocfs2-tools/ocfs2_hb_ctl/ocfs2_hb_ctl.c
@@ -40,6 +40,7 @@
#include <sys/stat.h>
#include <signal.h>
#include <syslog.h>
+#include <sys/resource.h>
#include "ocfs2/ocfs2.h"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jul 28 14:27:46 UTC 2012 - aj@suse.de
- Include sys/resource.h for getrlimit etc.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 24 20:04:54 UTC 2012 - dimstar@opensuse.org Tue Apr 24 20:04:54 UTC 2012 - dimstar@opensuse.org

View File

@ -50,6 +50,7 @@ Patch202: fix-configure-check-libs.patch
Patch203: fix-ocfs2_controld-crmcommon-link.patch Patch203: fix-ocfs2_controld-crmcommon-link.patch
Patch204: dont-use-var-lock-subsys.patch Patch204: dont-use-var-lock-subsys.patch
Patch205: ocfs2-tools-kernel33.patch Patch205: ocfs2-tools-kernel33.patch
Patch206: ocfs2-tools-resource.patch
Url: http://oss.oracle.com/projects/ocfs2-tools/ Url: http://oss.oracle.com/projects/ocfs2-tools/
Requires: /sbin/chkconfig Requires: /sbin/chkconfig
Requires: e2fsprogs Requires: e2fsprogs
@ -126,6 +127,7 @@ managing the file system.
%patch203 -p1 %patch203 -p1
%patch204 -p1 %patch204 -p1
%patch205 -p1 %patch205 -p1
%patch206 -p1
%build %build
export CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}" export CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"