include cstdio for std::sprintf
This commit is contained in:
parent
451cfae552
commit
1f630ff1ae
19
libdap-3.8.2-includes.patch
Normal file
19
libdap-3.8.2-includes.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
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"
|
||||||
|
|
@ -1,13 +1,14 @@
|
|||||||
Name: libdap
|
Name: libdap
|
||||||
Summary: The C++ DAP2 library from OPeNDAP
|
Summary: The C++ DAP2 library from OPeNDAP
|
||||||
Version: 3.8.2
|
Version: 3.8.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
# the deflate program is covered by the W3C license
|
# the deflate program is covered by the W3C license
|
||||||
License: LGPLv2+ and W3C
|
License: LGPLv2+ and W3C
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://www.opendap.org/
|
URL: http://www.opendap.org/
|
||||||
Source0: http://www.opendap.org/pub/source/libdap-%{version}.tar.gz
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -58,6 +59,7 @@ Documentation of the libdap library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .includes
|
||||||
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
|
iconv -f latin1 -t utf8 < COPYRIGHT_W3C > COPYRIGHT_W3C.utf8
|
||||||
touch -r COPYRIGHT_W3C COPYRIGHT_W3C.utf8
|
touch -r COPYRIGHT_W3C COPYRIGHT_W3C.utf8
|
||||||
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
|
mv COPYRIGHT_W3C.utf8 COPYRIGHT_W3C
|
||||||
@ -120,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 2 2009 Caolán McNamara <caolanm@redhat.com> - 3.8.2-3
|
||||||
|
- include cstdio for std::sprintf
|
||||||
|
|
||||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.2-2
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.2-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user