Compare commits

...

6 Commits

Author SHA256 Message Date
Dominique Leuenberger
7d05bb9636 Accepting request 1194293 from Publishing:TeXLive
- Add patch source-pdftex-gcc14.patch
  * Add fix in change file pdftex.ch to really fix boo#1228342
    (Thanks goes to Andreas Scherer)
- Remove former work around

OBS-URL: https://build.opensuse.org/request/show/1194293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive?expand=0&rev=97
2024-08-17 10:40:53 +00:00
Dr. Werner Fink
7c55c2830c .
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=482
2024-08-16 12:03:08 +00:00
Dr. Werner Fink
c19dac2150 Add real fix for boo#1228342
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=481
2024-08-16 11:41:45 +00:00
Dominique Leuenberger
d4de68ad31 Accepting request 1194242 from Publishing:TeXLive
- Added -Wno-error=incompatible-pointer-types to optflags to work
  around boo#1228342 and enable build with GCC 14 on 32bit
  architectures.

OBS-URL: https://build.opensuse.org/request/show/1194242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive?expand=0&rev=96
2024-08-16 10:23:03 +00:00
Dr. Werner Fink
37e15c77fd .
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=479
2024-08-16 07:18:00 +00:00
Dr. Werner Fink
df867d8099 - Added -Wno-error=incompatible-pointer-types to optflags to work
around boo#1228342 and enable build with GCC 14 on 32bit
  architectures.

I plan to not to close the bug and keep an eye on the package and
remove the flag when it hopefully becomes unnecessary in the future.

If the request is OK, please forward it to Factory too so that we can
switch the default compiler.  Thanks!

OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=478
2024-08-15 13:10:04 +00:00
3 changed files with 57 additions and 1 deletions

38
source-pdftex-gcc14.patch Normal file
View File

@ -0,0 +1,38 @@
Revision 71901 - (view) (download) (annotate) - [selected]
Modified Fri Jul 26 09:55:07 2024 UTC (3 weeks ago) by ascherer
File length: 15439 byte(s)
Diff to previous 65870
[PDFTEX] Prepare for compilation with gcc-14.
There's a type mismatch (probably copy-paste-error) for
'pdf_font_has_space_char', defined as '^boolean' in section 821,
in sections 1502 and 1518.
See https://tug.org/pipermail/tex-live/2024-July/050773.html for the
initial bug report.
---
texk/web2c/pdftexdir/pdftex.ch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- texk/web2c/pdftexdir/pdftex.ch
+++ texk/web2c/pdftexdir/pdftex.ch 2024-08-16 11:29:11.854819548 +0000
@@ -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

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Aug 16 11:34:24 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Add patch source-pdftex-gcc14.patch
* Add fix in change file pdftex.ch to really fix boo#1228342
(Thanks goes to Andreas Scherer)
- Remove former work around
-------------------------------------------------------------------
Fri Jul 26 14:15:55 UTC 2024 - Martin Jambor <mjambor@suse.com>
- Added -Wno-error=incompatible-pointer-types to optflags to work
around boo#1228342 and enable build with GCC 14 on 32bit
architectures.
-------------------------------------------------------------------
Fri Apr 12 13:10:45 UTC 2024 - Dr. Werner Fink <werner@suse.de>

View File

@ -19,7 +19,7 @@
%define texlive_version 2024
%define texlive_previous 2022
%define texlive_release 20240311
%define texlive_noarch 213
%define texlive_noarch 217
%define texlive_source texlive-20240311-source
%define biber_version 2.19
@ -266,6 +266,8 @@ Patch19: source-dvipng.dif
Patch21: source-ppc64.dif
# PATCH-FIX-UPSTREAM
Patch22: source-dvipdfm-x.dif
# PATCH-FIX-UPSTREAM
Patch23: source-pdftex-gcc14.patch
# PATCH-FIX-SUSE Make biber work with our perl
Patch42: biblatex-encoding.dif
Patch43: biblatex-ms-encoding.dif
@ -4246,6 +4248,7 @@ This package is required by the package texlive-biber-bin.
%patch -P19 -p0 -b .dvipng
%patch -P21 -p0 -b .ppcelf
%patch -P22 -p0 -b .sameimg
%patch -P23 -p0 -b .gcc14
pushd libs/luajit/LuaJIT-src/
#Missed patch ppc and risc
%patch -P106 -p1 -b .arm64