File dt-upstream-fixes.patch of Package dt
Index: common.h =================================================================== --- common.h +++ common.h @@ -360,7 +360,13 @@ /* ... surrounding context preserved ... */ - typedef unsigned int bool; +/* Avoid redefining 'bool' when compiling with C23 or newer. */ +#if !(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) +typedef unsigned int bool; +#endif + + /* ... following context preserved ... */ + Index: dt.h =================================================================== --- dt.h +++ dt.h @@ -646,7 +652,7 @@ /* ... surrounding context preserved ... */ extern int nofunc(); /* Stub return (no test func). */ - +extern int nofunc(struct dinfo *); /* Stub return (no test func). */ /* ... following context preserved ... */