Resolves: rhbz#884000 signed warning (thanks mfabian)
This commit is contained in:
parent
d0414c304a
commit
089716e608
@ -1,11 +1,12 @@
|
|||||||
Summary: Library implementing the Unicode Bidirectional Algorithm
|
Summary: Library implementing the Unicode Bidirectional Algorithm
|
||||||
Name: fribidi
|
Name: fribidi
|
||||||
Version: 0.19.4
|
Version: 0.19.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
URL: http://fribidi.org
|
URL: http://fribidi.org
|
||||||
Source: http://fribidi.org/download/%{name}-%{version}.tar.bz2
|
Source: http://fribidi.org/download/%{name}-%{version}.tar.bz2
|
||||||
License: LGPLv2+ and UCD
|
License: LGPLv2+ and UCD
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
|
Patch0: signedwarning.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library to handle bidirectional scripts (for example Hebrew, Arabic),
|
A library to handle bidirectional scripts (for example Hebrew, Arabic),
|
||||||
@ -23,6 +24,7 @@ FriBidi.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .signedwarnings
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?el5}
|
%if 0%{?el5}
|
||||||
@ -61,6 +63,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|||||||
%{_mandir}/man3/%{name}_*.gz
|
%{_mandir}/man3/%{name}_*.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 10 2012 Caolán McNamara <caolanm@redhat.com> - 0.19.4-2
|
||||||
|
- Resolves: rhbz#884000 signed warning (thanks mfabian)
|
||||||
|
|
||||||
* Tue Nov 27 2012 Caolán McNamara <caolanm@redhat.com> - 0.19.4-1
|
* Tue Nov 27 2012 Caolán McNamara <caolanm@redhat.com> - 0.19.4-1
|
||||||
- Resolves: rhbz#880490 bump to latest version
|
- Resolves: rhbz#880490 bump to latest version
|
||||||
|
|
||||||
|
11
signedwarning.patch
Normal file
11
signedwarning.patch
Normal file
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user