[packages/texlive/TEXLIVE_20080816] - fix constants narrowing error on C++11

baggins baggins at pld-linux.org
Wed Dec 6 10:57:01 CET 2017


commit 23c2665bde27f3cb3a99a846a32b06423c4ad7e2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Dec 6 10:56:19 2017 +0100

    - fix constants narrowing error on C++11

 cxx11.patch  | 11 +++++++++++
 texlive.spec |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/texlive.spec b/texlive.spec
index 9b7603f..d1ec5ca 100644
--- a/texlive.spec
+++ b/texlive.spec
@@ -95,6 +95,7 @@ Patch12:	%{name}-system-libpng.patch
 Patch13:	%{name}-system-zzip.patch
 Patch14:	%{name}-system-zlib.patch
 Patch15:	%{name}-xetex-zlib.patch
+Patch16:	cxx11.patch
 URL:		http://www.tug.org/texlive/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -6438,6 +6439,7 @@ lzma -dc %{SOURCE0} | tar xf - -C ..
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 
 CURDIR=$(pwd)
 cd utils/xindy/make-rules/alphabets
diff --git a/cxx11.patch b/cxx11.patch
new file mode 100644
index 0000000..67fc946
--- /dev/null
+++ b/cxx11.patch
@@ -0,0 +1,11 @@
+--- texlive-20080816-source/libs/icu-xetex/tools/genuca/genuca.cpp.orig	2008-03-04 14:26:36.000000000 +0100
++++ texlive-20080816-source/libs/icu-xetex/tools/genuca/genuca.cpp	2017-12-06 08:54:13.824347675 +0100
+@@ -882,7 +882,7 @@
+ struct {
+       UChar32 start;
+       UChar32 end;
+-      int32_t value;
++      uint32_t value;
+     } ranges[] =
+     {
+ #if 0
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/texlive.git/commitdiff/23c2665bde27f3cb3a99a846a32b06423c4ad7e2



More information about the pld-cvs-commit mailing list