forked from pool/ocfs2-tools
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:
parent
adbb5de233
commit
7729e31800
12
ocfs2-tools-resource.patch
Normal file
12
ocfs2-tools-resource.patch
Normal 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"
|
||||
|
@ -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
|
||||
|
||||
|
@ -50,6 +50,7 @@ Patch202: fix-configure-check-libs.patch
|
||||
Patch203: fix-ocfs2_controld-crmcommon-link.patch
|
||||
Patch204: dont-use-var-lock-subsys.patch
|
||||
Patch205: ocfs2-tools-kernel33.patch
|
||||
Patch206: ocfs2-tools-resource.patch
|
||||
Url: http://oss.oracle.com/projects/ocfs2-tools/
|
||||
Requires: /sbin/chkconfig
|
||||
Requires: e2fsprogs
|
||||
@ -126,6 +127,7 @@ managing the file system.
|
||||
%patch203 -p1
|
||||
%patch204 -p1
|
||||
%patch205 -p1
|
||||
%patch206 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"
|
||||
|
Loading…
Reference in New Issue
Block a user