Debian Codegraph @

debian/patches/xetex_gcc-16.diff

raw symbols SCIP
1 Description: Make XeTeX ready for gcc-16
2 You need to change texk/web2c/configure.ac to require c++17:
3 Since icu is compiled eith c++17 standards, the headers use c++17
4 standards and when compiling xetex, we need that, too.
5 Author: Norbert Preining <[email protected]>
6 Origin: upstream
7 Bug: https://bugs.debian.org/1133647
8 Forwarded: https://svn.tug.org:8369/texlive?revision=78759&view=revision
9 Last-Update: 2026-04-20
10 ---
11 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
12 --- texlive-bin.orig/texk/web2c/configure.ac
13 +++ texlive-bin/texk/web2c/configure.ac
14 @@ -57,10 +57,10 @@
15 KPSE_WEB2C_PREPARE
16 m4_include([ac/web2c.ac])
17
18 -# XeTeX requires C++11 because ICU does :(.
19 +# XeTeX requires C++17 because ICU 76+ does.
20 if test "x$enable_xetex" = xyes; then
21 - AC_MSG_NOTICE([checking for C++11, since XeTeX is enabled])
22 - AX_CXX_COMPILE_STDCXX([11])
23 + AC_MSG_NOTICE([checking for C++17, since XeTeX is enabled])
24 + AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory])
25 fi
26
27 AS_IF([test "x$enable_texlive_build" = xyes],