graphics/quesoglc: fix build for llvm-22

This commit is contained in:
kirill
2026-06-09 22:26:44 +00:00
parent 9010644f55
commit 95e7865bc1
2 changed files with 22 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
COMMENT= implementation of the OpenGL Character Renderer
DISTNAME= quesoglc-0.7.2
REVISION= 12
REVISION= 13
CATEGORIES= graphics
SITES= ${SITE_SOURCEFORGE:=quesoglc/}
@@ -1,5 +1,8 @@
Fix build with recent fribidi
Fix base by making it a paragraph direction variable, not a character
bidi type variable.
Index: src/unicode.c
--- src/unicode.c.orig
+++ src/unicode.c
@@ -16,3 +19,21 @@ Index: src/unicode.c
/* Find a Unicode name from its code */
@@ -550,7 +550,7 @@ GLCchar32* __glcConvertToVisualUcs4(__GLCcontext* inCo
{
GLCchar32* string = NULL;
int length = 0;
- FriBidiCharType base = FRIBIDI_TYPE_ON;
+ FriBidiParType base = FRIBIDI_PAR_ON;
GLCchar32* visualString = NULL;
assert(inString);
@@ -677,7 +677,7 @@ GLCchar32* __glcConvertCountedStringToVisualUcs4(__GLC
const GLint inCount)
{
GLCchar32* string = NULL;
- FriBidiCharType base = FRIBIDI_TYPE_ON;
+ FriBidiParType base = FRIBIDI_PAR_ON;
GLCchar32* visualString = NULL;
assert(inString);