1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Author: Andreas Beckmann <anbe@debian.org>
Description: fix building with GCC 15
bool is a keyword in -std=c23
--- a/cuneiform_src/Kern/rstr/src/fontprop.c
+++ b/cuneiform_src/Kern/rstr/src/fontprop.c
@@ -706,6 +706,7 @@ static int16_t pitch()
// AK 19.02.98
void font_str()
{
+#define bool Bool
int16_t ni1,ni2,ns1,ns2,nu,n,trp;
cell *c,*c1,*c2;
uchar fnt,fntu,fntprev;
@@ -1087,6 +1088,7 @@ void font_str()
}
}
+#undef bool
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
--- a/cuneiform_src/Kern/rblock/sources/h/newfunc.h
+++ b/cuneiform_src/Kern/rblock/sources/h/newfunc.h
@@ -81,7 +81,7 @@ Edef FNRBLOCK_ProgressFinish fnProgress
void InitDebug(void);
void DoneDebug(void);
-Bool32 ReadRoots();
+Bool32 ReadRoots(Handle hCCOM, Bool32 BLOCKS);
void PageLayoutPart1 (void);
void PageLayoutPart2 (void);
|