mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
graphics/quesoglc: fix build for llvm-22
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user