From 789f698f5e95bf217c6112a075291c41c15bddc5 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Thu, 5 Mar 2009 10:36:06 +0000 Subject: [PATCH] include stdio.h for sprintf --- TECkit_2_5_1-includes.patch | 11 +++++++++++ teckit.spec | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 TECkit_2_5_1-includes.patch diff --git a/TECkit_2_5_1-includes.patch b/TECkit_2_5_1-includes.patch new file mode 100644 index 0000000..3787f2c --- /dev/null +++ b/TECkit_2_5_1-includes.patch @@ -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 + #include + #include ++#include + + #include "zlib.h" + diff --git a/teckit.spec b/teckit.spec index 5c76143..47bf961 100644 --- a/teckit.spec +++ b/teckit.spec @@ -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 - 2.5.1-3 +- include stdio.h for sprintf + * Wed Feb 25 2009 Fedora Release Engineering - 2.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild