From 7729e318006df5182456c306b61c05a472ace2c3 Mon Sep 17 00:00:00 2001 From: Yan Gao Date: Mon, 30 Jul 2012 02:03:55 +0000 Subject: [PATCH] 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 --- ocfs2-tools-resource.patch | 12 ++++++++++++ ocfs2-tools.changes | 5 +++++ ocfs2-tools.spec | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 ocfs2-tools-resource.patch diff --git a/ocfs2-tools-resource.patch b/ocfs2-tools-resource.patch new file mode 100644 index 0000000..7252362 --- /dev/null +++ b/ocfs2-tools-resource.patch @@ -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 + #include + #include ++#include + + #include "ocfs2/ocfs2.h" + diff --git a/ocfs2-tools.changes b/ocfs2-tools.changes index b029449..ad86b3e 100644 --- a/ocfs2-tools.changes +++ b/ocfs2-tools.changes @@ -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 diff --git a/ocfs2-tools.spec b/ocfs2-tools.spec index f9716f0..6060360 100644 --- a/ocfs2-tools.spec +++ b/ocfs2-tools.spec @@ -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}"