From 089716e6089ca8bd695d7763c625cb1117e59a61 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Dec 10 2012 11:46:58 +0000 Subject: Resolves: rhbz#884000 signed warning (thanks mfabian) --- diff --git a/fribidi.spec b/fribidi.spec index 9243e14..842b471 100644 --- a/fribidi.spec +++ b/fribidi.spec @@ -1,11 +1,12 @@ Summary: Library implementing the Unicode Bidirectional Algorithm Name: fribidi Version: 0.19.4 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://fribidi.org Source: http://fribidi.org/download/%{name}-%{version}.tar.bz2 License: LGPLv2+ and UCD Group: System Environment/Libraries +Patch0: signedwarning.patch %description A library to handle bidirectional scripts (for example Hebrew, Arabic), @@ -23,6 +24,7 @@ FriBidi. %prep %setup -q +%patch0 -p1 -b .signedwarnings %build %if 0%{?el5} @@ -61,6 +63,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la %{_mandir}/man3/%{name}_*.gz %changelog +* Mon Dec 10 2012 Caolán McNamara - 0.19.4-2 +- Resolves: rhbz#884000 signed warning (thanks mfabian) + * Tue Nov 27 2012 Caolán McNamara - 0.19.4-1 - Resolves: rhbz#880490 bump to latest version diff --git a/signedwarning.patch b/signedwarning.patch new file mode 100644 index 0000000..06ae0ef --- /dev/null +++ b/signedwarning.patch @@ -0,0 +1,11 @@ +--- fribidi-0.19.4/bin/fribidi-main.c 2012-08-25 20:56:20.000000000 +0200 ++++ fribidi-0.19.4/bin/fribidi-main.c 2012-12-06 16:10:38.936894816 +0100 +@@ -519,7 +519,7 @@ + idx++; + } + #endif /* !FRIBIDI_MAIN_USE_ICONV_H */ +- if (wid < 0 && idx > st + 1) ++ if (wid < 0 && idx - st > 1) + idx--; + inlen = idx - st; +