rpms/libdap/devel libdap-3.8.2-includes.patch, NONE, 1.1 libdap.spec, 1.24, 1.25
Caolan McNamara
caolanm at fedoraproject.org
Tue Mar 3 15:36:22 UTC 2009
Author: caolanm
Update of /cvs/pkgs/rpms/libdap/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24857
Modified Files:
libdap.spec
Added Files:
libdap-3.8.2-includes.patch
Log Message:
include cstdio for std::sprintf
libdap-3.8.2-includes.patch:
--- NEW FILE libdap-3.8.2-includes.patch ---
diff -ru libdap-3.8.2.orig/util_mit.cc libdap-3.8.2/util_mit.cc
--- libdap-3.8.2.orig/util_mit.cc 2009-03-03 15:12:12.000000000 +0000
+++ libdap-3.8.2/util_mit.cc 2009-03-03 15:12:52.000000000 +0000
@@ -35,6 +35,7 @@
#include <cstring>
#include <cstdlib>
+#include <cstdio>
#include <string>
#include <ctype.h>
@@ -54,6 +55,7 @@
using std::cerr;
using std::endl;
using std::string;
+using std::sprintf;
#include "debug.h"
Index: libdap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libdap/devel/libdap.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- libdap.spec 25 Feb 2009 14:17:28 -0000 1.24
+++ libdap.spec 3 Mar 2009 15:35:52 -0000 1.25
@@ -1,13 +1,14 @@
Name: libdap
Summary: The C++ DAP2 library from OPeNDAP
Version: 3.8.2
-Release: 2%{?dist}
+Release: 3%{?dist}
# the deflate program is covered by the W3C license
License: LGPLv2+ and W3C
Group: Development/Libraries
URL: http://www.opendap.org/
Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
+Patch0: libdap-3.8.2-includes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -58,6 +59,7 @@
%prep
%setup -q
+%patch0 -p1 -b .includes
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
touch -r COPYRIGHT_W3C COPYRIGHT_W3C.utf8
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
@@ -120,6 +122,9 @@
%changelog
+* Tue Mar 2 2009 Caolán McNamara <caolanm at redhat.com> - 3.8.2-3
+- include cstdio for std::sprintf
+
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list