[sblim-sfcb] Add missing includes
vcrhonek
vcrhonek at fedoraproject.org
Thu Jun 7 11:26:58 UTC 2012
commit d95c4ac243bf271ea5cf66180d3405eb748b00a0
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date: Thu Jun 7 13:24:33 2012 +0200
Add missing includes
sblim-sfcb-1.3.14-missing-includes.patch | 26 ++++++++++++++++++++++++++
sblim-sfcb.spec | 2 ++
2 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/sblim-sfcb-1.3.14-missing-includes.patch b/sblim-sfcb-1.3.14-missing-includes.patch
new file mode 100644
index 0000000..0daeed0
--- /dev/null
+++ b/sblim-sfcb-1.3.14-missing-includes.patch
@@ -0,0 +1,26 @@
+diff -up sblim-sfcb-1.3.14/cimXmlRequest.c.orig sblim-sfcb-1.3.14/cimXmlRequest.c
+--- sblim-sfcb-1.3.14/cimXmlRequest.c.orig 2012-06-07 13:09:59.006978825 +0200
++++ sblim-sfcb-1.3.14/cimXmlRequest.c 2012-06-07 13:10:26.652133786 +0200
+@@ -20,7 +20,8 @@
+ *
+ */
+
+-
++#include <sys/time.h>
++#include <sys/resource.h>
+
+ #include "cmpidt.h"
+ #include "cmpidtx.h"
+diff -up sblim-sfcb-1.3.14/providerMgr.c.orig sblim-sfcb-1.3.14/providerMgr.c
+--- sblim-sfcb-1.3.14/providerMgr.c.orig 2012-06-07 11:34:30.226930620 +0200
++++ sblim-sfcb-1.3.14/providerMgr.c 2012-06-07 13:03:34.140826089 +0200
+@@ -24,6 +24,9 @@
+ #include <signal.h>
+ #include <time.h>
+
++#include <sys/time.h>
++#include <sys/resource.h>
++
+ #include "cmpidt.h"
+ #include "providerRegister.h"
+ #include "providerMgr.h"
diff --git a/sblim-sfcb.spec b/sblim-sfcb.spec
index 9ac4055..0f56564 100644
--- a/sblim-sfcb.spec
+++ b/sblim-sfcb.spec
@@ -16,6 +16,7 @@ Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
Patch0: sblim-sfcb-1.3.7-close_logging.patch
Patch1: sblim-sfcb-1.3.9-sfcbrepos-schema-location.patch
Patch2: sblim-sfcb-1.3.10-CMGetCharPtr.patch
+Patch3: sblim-sfcb-1.3.14-missing-includes.patch
Source1: sfcb.service
Provides: cim-server
Requires: cim-schema
@@ -50,6 +51,7 @@ Programming Interface (CMPI).
%patch0 -p1 -b .close_logging
%patch1 -p1 -b .sfcbrepos-schema-location
%patch2 -p1 -b .CMGetCharPtr
+%patch3 -p1 -b .missing-includes
%build
%configure --enable-debug --enable-uds --enable-ssl --enable-pam --enable-ipv6 CFLAGS="$CFLAGS -D_GNU_SOURCE"
More information about the scm-commits
mailing list