From: Kirill A. Korinsky Subject: graphics/quesoglc: fix build under LLVM-22 To: OpenBSD ports Cc: Brad Smith Date: Fri, 05 Jun 2026 10:55:49 +0200 ports@, Brad, I'd like to fix graphics/quesoglc build under LLVM-22 It had made old warning fatal that that base as used as chaaracter bidi type variable, and not paragraph level. Ok? Index: Makefile =================================================================== RCS file: /home/cvs/ports/graphics/quesoglc/Makefile,v diff -u -p -r1.24 Makefile --- Makefile 25 Jul 2025 12:39:03 -0000 1.24 +++ Makefile 5 Jun 2026 08:53:37 -0000 @@ -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/} Index: patches/patch-src_unicode_c =================================================================== RCS file: /home/cvs/ports/graphics/quesoglc/patches/patch-src_unicode_c,v diff -u -p -r1.2 patch-src_unicode_c --- patches/patch-src_unicode_c 11 Mar 2022 19:23:19 -0000 1.2 +++ patches/patch-src_unicode_c 5 Jun 2026 08:53:08 -0000 @@ -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); -- wbr, Kirill