[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/libtranslate/FC-3 libtranslate-0.99-int64.diff, NONE, 1.1 libtranslate.spec, 1.2, 1.3



Author: buc

Update of /cvs/extras/rpms/libtranslate/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24092

Modified Files:
	libtranslate.spec 
Added Files:
	libtranslate-0.99-int64.diff 
Log Message:


libtranslate-0.99-int64.diff:

--- NEW FILE libtranslate-0.99-int64.diff ---
--- src/translate-util.c.orig	Mon Jan 17 17:45:45 2005
+++ src/translate-util.c	Fri Dec 30 22:26:26 2005
@@ -136,7 +136,7 @@
   g_return_val_if_fail(big != NULL, NULL);
   g_return_val_if_fail(little != NULL, NULL);
 
-  lower_big = g_ascii_strdown(big, big_len);
+  lower_big = g_ascii_strdown(big, (int) big_len);
   lower_little = g_ascii_strdown(little, -1);
 
   s = strstr(lower_big, lower_little);


Index: libtranslate.spec
===================================================================
RCS file: /cvs/extras/rpms/libtranslate/FC-3/libtranslate.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- libtranslate.spec	14 Sep 2005 11:12:05 -0000	1.2
+++ libtranslate.spec	21 Mar 2006 14:57:45 -0000	1.3
@@ -1,13 +1,14 @@
 Name: libtranslate
 Summary: Natural language translation library
 Version: 0.99
-Release: 4%{?dist}
+Release: 6%{?dist}
 License: BSD
 Group: System Environment/Libraries
 %define url	http://savannah.nongnu.org/download/libtranslate
 Source: %{url}/libtranslate-%{version}.tar.gz
 Patch1: %{url}/libtranslate-0.99-charsetparse.diff
 Patch2: %{url}/libtranslate-0.99-condfix.diff
+Patch3: %{url}/libtranslate-0.99-int64.diff
 Patch10: libtranslate-add_Promt_service.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: pkgconfig >= 1:0.8, gettext
@@ -43,6 +44,7 @@
 %setup -q -n %{name}-%{version}
 %patch1 -p0
 %patch2 -p0
+%patch3 -p0
 %patch10 -p0
 
 %build
@@ -95,6 +97,9 @@
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Tue Mar 21 2006 Dmitry Butskoy <Dmitry Butskoy name> - 0.99-6
+- add upstream's patch fixing memory exhaustion on 64-bit platforms
+
 * Wed Sep  7 2005 Dmitry Butskoy <Dmitry Butskoy name> - 0.99-4
 - even more cleanups
 - Accepted for Fedora Extra


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]