File hanterm-xf-gcc15.patch of Package hanterm-xf

Index: hanterm-xf-2.0.5-173/comp.c
===================================================================
--- hanterm-xf-2.0.5-173.orig/comp.c
+++ hanterm-xf-2.0.5-173/comp.c
@@ -6,12 +6,12 @@
 #include <ctype.h>
 #include <sys/types.h>
 #include <dirent.h>
+#include <stdbool.h>
 
 #include "comp.h"
 #include "johabcode.h"
 
 typedef unsigned int unit;
-typedef unsigned int bool;
 
 #define CHO_SHIFT 10
 #define JUNG_SHIFT 5
Index: hanterm-xf-2.0.5-173/composer/comp.c
===================================================================
--- hanterm-xf-2.0.5-173.orig/composer/comp.c
+++ hanterm-xf-2.0.5-173/composer/comp.c
@@ -6,12 +6,12 @@
 #include <ctype.h>
 #include <sys/types.h>
 #include <dirent.h>
+#include <stdbool.h>
 
 #include "comp.h"
 #include "johabcode.h"
 
 typedef unsigned int unit;
-typedef unsigned int bool;
 
 #define CHO_SHIFT 10
 #define JUNG_SHIFT 5
openSUSE Build Service is sponsored by