fix build with ICU 56.1
This commit is contained in:
parent
5c00f07580
commit
cc19d3716a
16
pyicu-1.5-fix-build-with-icu-56.1.patch
Normal file
16
pyicu-1.5-fix-build-with-icu-56.1.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
diff -ur old.PyICU-1.5/layoutengine.cpp PyICU-1.5/layoutengine.cpp
|
||||||
|
--- old.PyICU-1.5/layoutengine.cpp 2012-11-23 21:39:01.000000000 +0100
|
||||||
|
+++ PyICU-1.5/layoutengine.cpp 2015-10-29 13:44:15.610882520 +0100
|
||||||
|
@@ -118,6 +118,12 @@
|
||||||
|
* LEFontInstance API.
|
||||||
|
*/
|
||||||
|
|
||||||
|
+ virtual const void *getFontTable(LETag tableTag, size_t &length) const
|
||||||
|
+ {
|
||||||
|
+ length = -1;
|
||||||
|
+ return getFontTable(tableTag);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
virtual const void *getFontTable(LETag tag) const
|
||||||
|
{
|
||||||
|
#if PY_MAJOR_VERSION >= 3
|
@ -4,7 +4,7 @@
|
|||||||
%define realname PyICU
|
%define realname PyICU
|
||||||
Name: pyicu
|
Name: pyicu
|
||||||
Version: 1.5
|
Version: 1.5
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
Summary: Python extension wrapping IBM's ICU C++ libraries
|
Summary: Python extension wrapping IBM's ICU C++ libraries
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -21,6 +21,7 @@ BuildRequires: gcc-c++
|
|||||||
|
|
||||||
Patch0: 0001-fix-build-with-icu-53.1.patch
|
Patch0: 0001-fix-build-with-icu-53.1.patch
|
||||||
Patch1: 0001-disable-failing-test.patch
|
Patch1: 0001-disable-failing-test.patch
|
||||||
|
Patch2: pyicu-1.5-fix-build-with-icu-56.1.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PyICU is Python extension wrapping IBM's International Components
|
PyICU is Python extension wrapping IBM's International Components
|
||||||
@ -39,6 +40,7 @@ Summary: Python3 extension wrapping IBM's ICU C++ libraries
|
|||||||
|
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
@ -84,6 +86,9 @@ rm -rf %{buildroot}%{python2_sitearch}/tests %{buildroot}%{python3_sitearch}/tes
|
|||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 29 2015 Eike Rathke <erack@redhat.com> - 1.5-13
|
||||||
|
- fix build with ICU 56.1
|
||||||
|
|
||||||
* Wed Oct 28 2015 David Tardon <dtardon@redhat.com> - 1.5-12
|
* Wed Oct 28 2015 David Tardon <dtardon@redhat.com> - 1.5-12
|
||||||
- rebuild for ICU 56.1
|
- rebuild for ICU 56.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user