include stdio.h for sprintf

This commit is contained in:
Caolan McNamara 2009-03-05 10:36:06 +00:00
parent 3a75d25afe
commit 789f698f5e
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,11 @@
diff -ru TECkit_2_5_1.orig/source/Compiler.cpp TECkit_2_5_1/source/Compiler.cpp
--- TECkit_2_5_1.orig/source/Compiler.cpp 2009-03-05 10:29:22.000000000 +0000
+++ TECkit_2_5_1/source/Compiler.cpp 2009-03-05 10:29:50.000000000 +0000
@@ -33,6 +33,7 @@
#include <iomanip>
#include <algorithm>
#include <cstring>
+#include <stdio.h>
#include "zlib.h"

View File

@ -1,6 +1,6 @@
Name: teckit
Version: 2.5.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Conversion library and mapping compiler
License: LGPLv2+ or CPL
Group: Development/Libraries
@ -9,6 +9,8 @@ Source0: http://scripts.sil.org/svn-view/teckit/TAGS/TECkit_2_5_1.tar.gz
BuildRequires: expat-devel zlib-devel libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: TECkit_2_5_1-includes.patch
%description
TECkit is a low-level toolkit intended to be used by other
applications that need to perform encoding conversions (e.g., when
@ -37,6 +39,7 @@ tables from a human-readable mapping description (a simple text file).
%prep
%setup -q -n TECkit_2_5_1
%patch0 -p1 -b .includes
%{__chmod} 0755 ./autogen.sh
%{__chmod} 0755 ./configure
@ -84,6 +87,9 @@ make check
%{_libdir}/libTECkit_Compiler.so
%changelog
* Wed Mar 05 2009 Caolán McNamara <caolanm@redhat.com> - 2.5.1-3
- include stdio.h for sprintf
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild