From 88211b8584fc4b77838c6a3e91e37cf979c6defc Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Thu, 26 Feb 2009 09:54:14 +0000 Subject: [PATCH] - fix build with gcc4.4 --- texlive-elif.patch | 12 ++++++++++++ texlive.spec | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 texlive-elif.patch diff --git a/texlive-elif.patch b/texlive-elif.patch new file mode 100644 index 0000000..b96050d --- /dev/null +++ b/texlive-elif.patch @@ -0,0 +1,12 @@ +diff -up texlive-2007/libs/icu-xetex/layoutex/ParagraphLayout.cpp.elif texlive-2007/libs/icu-xetex/layoutex/ParagraphLayout.cpp +--- texlive-2007/libs/icu-xetex/layoutex/ParagraphLayout.cpp.elif 2006-07-25 14:37:43.000000000 +0200 ++++ texlive-2007/libs/icu-xetex/layoutex/ParagraphLayout.cpp 2009-02-26 10:28:40.000000000 +0100 +@@ -745,7 +745,7 @@ le_int32 ParagraphLayout::getLanguageCod + + return nullLanguageCode; + } +-#elif ++#else + + // TODO - dummy implementation for right now... + le_int32 ParagraphLayout::getLanguageCode(const Locale *locale) diff --git a/texlive.spec b/texlive.spec index dbb2615..88be71a 100644 --- a/texlive.spec +++ b/texlive.spec @@ -74,6 +74,7 @@ Patch27: texlive-poppler.patch Patch28: texlive-man-notetex.patch Patch29: texlive-man-context.patch Patch30: texlive-lacheck.patch +Patch31: texlive-elif.patch ###### # mpeters contributed patches @@ -390,6 +391,7 @@ chmod -x texk/dvipdfm/encodings.c %patch28 -p1 -b .notetex %patch29 -p1 -b .man-context %patch30 -p1 -b .lacheck +%patch31 -p1 -b .elif # fix non utf man pages %patch42 -p1 -b .notutf8-2 @@ -1234,6 +1236,7 @@ fi fonts are stored in ~/.texlive2007/texmf-var per-user (#477833, #463975, #453468) - use correct paths in brp-* post install scriptlets (#468179) +- fix build with gcc4.4 * Wed Feb 25 2009 Fedora Release Engineering - 2007-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild