- fix build with gcc4.4

This commit is contained in:
Jindrich Novy 2009-02-26 09:54:14 +00:00
parent a2fa922b27
commit 88211b8584
2 changed files with 15 additions and 0 deletions

12
texlive-elif.patch Normal file
View File

@ -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)

View File

@ -74,6 +74,7 @@ Patch27: texlive-poppler.patch
Patch28: texlive-man-notetex.patch Patch28: texlive-man-notetex.patch
Patch29: texlive-man-context.patch Patch29: texlive-man-context.patch
Patch30: texlive-lacheck.patch Patch30: texlive-lacheck.patch
Patch31: texlive-elif.patch
###### ######
# mpeters contributed patches # mpeters contributed patches
@ -390,6 +391,7 @@ chmod -x texk/dvipdfm/encodings.c
%patch28 -p1 -b .notetex %patch28 -p1 -b .notetex
%patch29 -p1 -b .man-context %patch29 -p1 -b .man-context
%patch30 -p1 -b .lacheck %patch30 -p1 -b .lacheck
%patch31 -p1 -b .elif
# fix non utf man pages # fix non utf man pages
%patch42 -p1 -b .notutf8-2 %patch42 -p1 -b .notutf8-2
@ -1234,6 +1236,7 @@ fi
fonts are stored in ~/.texlive2007/texmf-var per-user fonts are stored in ~/.texlive2007/texmf-var per-user
(#477833, #463975, #453468) (#477833, #463975, #453468)
- use correct paths in brp-* post install scriptlets (#468179) - use correct paths in brp-* post install scriptlets (#468179)
- fix build with gcc4.4
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2007-40 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2007-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild