fix FTBFS with GCC 14 on i686

Also, add missed ignore entries from "Update to TL2022".
This commit is contained in:
Michael J Gruber 2024-01-20 21:13:11 +01:00
parent ef14236976
commit 02fdab6520
3 changed files with 30 additions and 1 deletions

3
.gitignore vendored
View File

@ -435,3 +435,6 @@
/digestif.tar.xz
/texaccents.source.tar.xz
/build-svn66984.tar.gz
/optexcount.doc.tar.xz
/optexcount.tar.xz
/texlogfilter.doc.tar.xz

View File

@ -0,0 +1,20 @@
--- texlive-base-20230311/source/texk/web2c/pdftexdir/pdftex.ch.orig 2023-05-02 17:26:43.000000000 +0200
+++ texlive-base-20230311/source/texk/web2c/pdftexdir/pdftex.ch 2024-01-20 21:59:58.382906926 +0100
@@ -179,7 +179,7 @@ pdf_font_type:=xmalloc_array(eight_bits,
pdf_font_attr:=xmalloc_array(str_number, font_max);
pdf_font_blink:=xmalloc_array(internal_font_number, font_max);
pdf_font_elink:=xmalloc_array(internal_font_number, font_max);
-pdf_font_has_space_char:=xmalloc_array(internal_font_number, font_max);
+pdf_font_has_space_char:=xmalloc_array(boolean, font_max);
pdf_font_stretch:=xmalloc_array(integer, font_max);
pdf_font_shrink:=xmalloc_array(integer, font_max);
pdf_font_step:=xmalloc_array(integer, font_max);
@@ -298,7 +298,7 @@ pdf_font_type:=xmalloc_array(eight_bits,
pdf_font_attr:=xmalloc_array(str_number,font_max);
pdf_font_blink:=xmalloc_array(internal_font_number,font_max);
pdf_font_elink:=xmalloc_array(internal_font_number,font_max);
-pdf_font_has_space_char:=xmalloc_array(internal_font_number,font_max);
+pdf_font_has_space_char:=xmalloc_array(boolean,font_max);
pdf_font_stretch:=xmalloc_array(integer,font_max);
pdf_font_shrink:=xmalloc_array(integer,font_max);
pdf_font_step:=xmalloc_array(integer,font_max);

View File

@ -25,7 +25,7 @@
Name: %{shortname}-base
Version: %{source_date}
Release: 78%{?dist}
Release: 79%{?dist}
Epoch: 11
Summary: TeX formatting system
# The only files in the base package are directories, cache, and license texts
@ -527,6 +527,7 @@ Patch46: texlive-base-20230311-fix-scripts.patch
# fix build error with gcc-14
Patch47: texlive-base-20230311-typecasts.patch
Patch48: texlive-base-20230311-typefixes.patch
# Can't do this because it causes everything else to be noarch
# BuildArch: noarch
@ -8300,6 +8301,7 @@ done
%patch -P44 -p1 -b .pdf-header-order-fix
%patch -P47 -p1 -b .gcc-14-typecast
%patch -P48 -p1 -b .gcc-14-typefixes
# Disable broken tests
# updmap-cmdline-test.pl is not useful and it will fail because it finds the system perl bits instead of the local copy
@ -11113,6 +11115,10 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || :
%doc %{_texdir}/texmf-dist/doc/latex/yplan/
%changelog
* Sat Jan 20 2024 Michael J Gruber <mjg@fedoraproject.org> - 11:20230311-79
- fix FTBFS with GCC 14 on i686
- add missed ignore entries from "Update to TL2022"
* Fri Jan 19 2024 Than Ngo <than@redhat.com> - 11:20230311-78
- fixed bz#2259157 - texlive-base FTBFS