Compare commits

...

5 Commits

Author SHA1 Message Date
David Abdurachmanov c6f8d271df
Disable LuaJIT on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-03-19 11:09:35 +02:00
Pete Walter c94dfd4d48 Rebuild for ICU 74 2024-01-31 20:19:31 +00:00
Fedora Release Engineering 4151ff53b3 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 05:57:16 +00:00
Michael J Gruber 02fdab6520 fix FTBFS with GCC 14 on i686
Also, add missed ignore entries from "Update to TL2022".
2024-01-20 22:02:44 +01:00
Than Ngo ef14236976 fixed bz#2259157 - texlive-base FTBFS 2024-01-19 21:53:54 +01:00
4 changed files with 63 additions and 6 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,12 @@
diff -up texlive-base-20230311/source/texk/xdvik/gui/pagesel.c.me texlive-base-20230311/source/texk/xdvik/gui/pagesel.c
--- texlive-base-20230311/source/texk/xdvik/gui/pagesel.c.me 2024-01-19 21:02:08.541378286 +0100
+++ texlive-base-20230311/source/texk/xdvik/gui/pagesel.c 2024-01-19 21:17:31.425443142 +0100
@@ -538,7 +538,7 @@ xaw_update_list(void)
button_width = get_panel_width() - 2 * (resource.btn_side_spacing + resource.btn_border_width);
/* delete and re-create list */
ASSERT(total_pages <= (int)page_info.index_size, "");
- XawListChange(LIST_WIDGET, page_info.page_labels, 0,
+ XawListChange(LIST_WIDGET,(const char **) page_info.page_labels, 0,
MAX(button_width, pagelist_width), False);
/* restore selected item */
if (idx != XAW_LIST_NONE) {

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: 77%{?dist}
Release: 81.0.riscv64%{?dist}
Epoch: 11
Summary: TeX formatting system
# The only files in the base package are directories, cache, and license texts
@ -525,6 +525,10 @@ Patch45: texlive-fedora-texmfcnf.lua.patch
# Fix interpreter on perl scripts (thanks again to Debian)
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
BuildRequires: make
@ -8296,6 +8300,8 @@ ln -s %{_texdir}/licenses/$l $l
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
@ -8386,7 +8392,7 @@ export XPDF_LIBS="-lxpdfcore -lfofi -lgoo -lsplash $GLIB_LIBS $PAPER_LIBS $FONTC
%else
--with-system-xpdf \
%endif
%ifarch %{power64} s390 s390x
%ifarch %{power64} s390 s390x riscv64
--disable-luajittex --disable-mfluajit --disable-luajithbtex --disable-mfluajit-nowin \
%endif
%if %{without bootstrap} && ! 0%{?eln}
@ -8756,7 +8762,7 @@ for i in afm2pl afm2tfm aleph bibtex bibtex8 bibtexu chkdvifont chktex ctie ctan
chrpath --delete %{buildroot}%{_bindir}/$i
done
%ifnarch %{power64} s390 s390x
%ifnarch %{power64} s390 s390x riscv64
chrpath --delete %{buildroot}%{_bindir}/luajithbtex
chrpath --delete %{buildroot}%{_bindir}/luajittex
chrpath --delete %{buildroot}%{_bindir}/mfluajit
@ -9922,7 +9928,7 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || :
%{_includedir}/kpathsea/*
%{_includedir}/synctex/
%{_includedir}/texlua53/
%ifnarch %{power64} s390 s390x
%ifnarch %{power64} s390 s390x riscv64
%{_includedir}/texluajit/
%endif
%{_libdir}/*.so
@ -10006,7 +10012,7 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || :
%files -n %{shortname}-luajittex
%license gpl2.txt
%ifnarch %{power64} s390 s390x
%ifnarch %{power64} s390 s390x riscv64
%{_bindir}/luajittex
%{_bindir}/luajithbtex
%{_bindir}/texluajit
@ -10127,7 +10133,7 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || :
%license gpl2.txt
%{_bindir}/mflua
%{_bindir}/mflua-nowin
%ifnarch %{power64} s390 s390x
%ifnarch %{power64} s390 s390x riscv64
%{_bindir}/mfluajit
%{_bindir}/mfluajit-nowin
%endif
@ -11109,6 +11115,22 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || :
%doc %{_texdir}/texmf-dist/doc/latex/yplan/
%changelog
* Tue Mar 19 2024 David Abdurachmanov <davidlt@rivosinc.com> - 11:20230311-81.0.riscv64
- Disable LuaJIT on riscv64
* Wed Jan 31 2024 Pete Walter <pwalter@fedoraproject.org> - 11:20230311-81
- Rebuild for ICU 74
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 11:20230311-80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* 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
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 11:20230311-77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild