From d95c4ac243bf271ea5cf66180d3405eb748b00a0 Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Thu, 7 Jun 2012 13:24:33 +0200 Subject: [PATCH] Add missing includes --- sblim-sfcb-1.3.14-missing-includes.patch | 26 ++++++++++++++++++++++++ sblim-sfcb.spec | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 sblim-sfcb-1.3.14-missing-includes.patch 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 ++#include + + #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 + #include + ++#include ++#include ++ + #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"