gentoo/app-editors/jove/files/jove-4.17.5.3-bool.patch
Ulrich Müller 3097636bde
app-editors/jove: Fix compilation with GCC 15
Closes: https://bugs.gentoo.org/944105
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2024-11-20 14:06:09 +01:00

15 lines
253 B
Diff

--- jove-4.17.5.3/jove.h
+++ jove-4.17.5.3/jove.h
@@ -148,7 +148,12 @@
#define private static
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+# include <stdbool.h>
+#else
typedef int bool;
+#endif
+
#define NO 0
#define YES 1