packages: uns/uns.spec, uns/uns-build.patch (NEW) - some build fixes
arekm
arekm at pld-linux.org
Thu Jul 16 10:10:46 CEST 2009
Author: arekm Date: Thu Jul 16 08:10:46 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- some build fixes
---- Files affected:
packages/uns:
uns.spec (1.1 -> 1.2) , uns-build.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/uns/uns.spec
diff -u packages/uns/uns.spec:1.1 packages/uns/uns.spec:1.2
--- packages/uns/uns.spec:1.1 Thu Jul 16 09:53:03 2009
+++ packages/uns/uns.spec Thu Jul 16 10:10:40 2009
@@ -8,6 +8,7 @@
Source0: http://dl.sourceforge.net/openamt/%{name}-%{version}.tar.gz
# Source0-md5: c20cba1e38e86ed7aa56bdd749ecff53
Source1: %{name}.init
+Patch0: %{name}-build.patch
URL: http://www.openamt.org/
BuildRequires: curl-devel
BuildRequires: gsoap
@@ -29,9 +30,11 @@
%prep
%setup -q -n UNS-%{version}
+%patch0 -p1
%build
-%configure
+%configure \
+ CPPFLAGS="%{rpmcppflags} -I/usr/include/openwsman"
%{__make}
@@ -55,6 +58,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2009/07/16 08:10:40 arekm
+- some build fixes
+
Revision 1.1 2009/07/16 07:53:03 arekm
- raw
================================================================
Index: packages/uns/uns-build.patch
diff -u /dev/null packages/uns/uns-build.patch:1.1
--- /dev/null Thu Jul 16 10:10:46 2009
+++ packages/uns/uns-build.patch Thu Jul 16 10:10:40 2009
@@ -0,0 +1,30 @@
+--- UNS-5.0.0.30/CryptUtils.cpp~ 2009-07-16 10:02:28.246381051 +0200
++++ UNS-5.0.0.30/CryptUtils.cpp 2009-07-16 10:03:00.159697186 +0200
+@@ -49,6 +49,7 @@
+ #endif
+ #include "CryptUtils.h"
+ #include <string>
++#include <string.h>
+ #ifdef _WIN32
+ #include <objbase.h>
+ #include <process.h>
+--- UNS-5.0.0.30/LinuxEventLog.cpp~ 2008-07-08 12:50:36.000000000 +0200
++++ UNS-5.0.0.30/LinuxEventLog.cpp 2009-07-16 10:05:31.663687765 +0200
+@@ -44,6 +44,7 @@
+ #include "LinuxEventLog.h"
+ #include "EventMessages.h"
+
++#include <cstdio>
+ #include <cstdlib>
+ #include <cstring>
+ #include <unistd.h>
+--- UNS-5.0.0.30/Options.h~ 2008-07-08 12:50:36.000000000 +0200
++++ UNS-5.0.0.30/Options.h 2009-07-16 10:09:13.126952354 +0200
+@@ -50,6 +50,7 @@
+ #ifndef _OPTIONS_H
+ #define _OPTIONS_H
+
++#include <cstdio>
+ #include <map>
+ #include <vector>
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/uns/uns.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list