Description: #1097988: texlive-bin: ftbfs with GCC-15
Forwarded: https://github.com/t-tk/dvi2tty/issues/1
Author: Hilmar Preuße <hille42@debian.org>
Applied-Upstream: I confirmed TeX Live svn r74888 and I agree with the commit.
Last-Update: 2025-04-11

Index: Changelog
===================================================================
--- texlive-bin-2025.20250325.74682.orig/texk/dvi2tty/dvi2tty-src/Changelog	(revision 74875)
+++ texlive-bin-2025.20250325.74682/texk/dvi2tty/dvi2tty-src/Changelog	(working copy)
@@ -1,4 +1,6 @@
 /******************************************************************************
+ * Hilmar Preusse: 250408 (hille42@web.de)
+ *               Use <stdbool.h> instead of declaring bool, to placate C23.
  * Takuji Tanaka: 20160305 (ttk@t-lab.opal.ne.jp)
  *               Version 6.0.0
  *               Supported T1,TS1,OT2,T2A,T2B,T2C,X2 encodings.
Index: dvi2tty.h
===================================================================
--- texlive-bin-2025.20250325.74682.orig/texk/dvi2tty/dvi2tty-src/dvi2tty.h	(revision 74875)
+++ texlive-bin-2025.20250325.74682/texk/dvi2tty/dvi2tty-src/dvi2tty.h	(working copy)
@@ -40,6 +40,7 @@ Copyright (C) 1989-2010 M.J.E. Mol, MESA Consultin
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
+#include <stdbool.h>
 
 #if (defined(WIN32) && !defined(__MINGW32__))
 # include <fcntl.h>
@@ -101,7 +102,8 @@ typedef unsigned long DWORD;
  * Type definitions
  */
 
-typedef char bool;
+/* C23 makes "bool" into a keyword; must use <stdbool.h> as above. */
+/* typedef char bool; */
 
 typedef struct prlistptr {      /* list of pages selected for output         */
     int       pag;                      /* number of pages                   */
