summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2024-07-26 09:55:07 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2024-07-26 09:55:07 +0000
commitd559736eb1f6c906d4b769f7c95212dce5e628fb (patch)
tree7fad408fd04f6eac519b33fcfef5c64e63bf1f78 /Build/source/texk/web2c/pdftexdir
parentc57c5420157f4195857cd9ed935a23439d93b1ea (diff)
[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. git-svn-id: svn://tug.org/texlive/trunk@71901 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog6
-rw-r--r--Build/source/texk/web2c/pdftexdir/pdftex.ch4
2 files changed, 7 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog
index 9fcf5a277d2..75b70a5ff71 100644
--- a/Build/source/texk/web2c/pdftexdir/ChangeLog
+++ b/Build/source/texk/web2c/pdftexdir/ChangeLog
@@ -1,3 +1,7 @@
+2024-07-26 Andreas Scherer <https://ascherer.github.io>
+
+ * pdftex.ch: Prepare for compilation with gcc-14.
+
2024-05-24 Thanh Han The <hanthethanh@gmail.com>
* pdftex.web (pdf_ptex_use_underscore_code),
@@ -5,7 +9,7 @@
(Put each ...): define it.
(print_param): print it.
(get_ptex_use_underscore): new fn to implement it.
- (pdf_print_info): adjust Fullbanner prefix character.
+ (pdf_print_info): adjust Fullbanner prefix character.
* pdftoepdf.cc (getptexuseunderscore): declare fn.
(write_epdf): use it for FileName, PageNumber, InfoDict.
diff --git a/Build/source/texk/web2c/pdftexdir/pdftex.ch b/Build/source/texk/web2c/pdftexdir/pdftex.ch
index 0607f7f2f1f..a30a74c3376 100644
--- a/Build/source/texk/web2c/pdftexdir/pdftex.ch
+++ b/Build/source/texk/web2c/pdftexdir/pdftex.ch
@@ -179,7 +179,7 @@ pdf_font_type:=xmalloc_array(eight_bits, font_max);
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,font_max);
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);