File fix-gcc15.patch of Package opendune

From 82d0bc760b56c93bbcac82fef7c07695630043b6 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bernhard+gitcommit lsmod.de>
Date: Thu, 11 Dec 2025 08:51:02 +0100
Subject: [PATCH] Don't redefine bool

to fix compilation on gcc15
---
 include/types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/types.h b/include/types.h
index e623ebd..ec2d62b 100644
--- a/include/types.h
+++ b/include/types.h
@@ -106,7 +106,7 @@ typedef struct tile32 {
 #endif
 
 #ifndef bool
-typedef unsigned char bool;
+#include <stdbool.h>
 #define false 0
 #define true 1
 #endif /* bool */
-- 
2.52.0

openSUSE Build Service is sponsored by