Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 23:27:59 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: daafa4e5eadf - main - graphics/sdl2_gpu: fix build with LLVM 16
Message-ID:  <202306262327.35QNRxEQ016134@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=daafa4e5eadf6c01394c255b8cbed4e36ea9e49f

commit daafa4e5eadf6c01394c255b8cbed4e36ea9e49f
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-06-25 14:25:09 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-06-26 22:58:21 +0000

    graphics/sdl2_gpu: fix build with LLVM 16
    
    Silence a warning about an incompatible function pointer type to fix
    the build on 14-CURRENT.  This warning is harmless: the function pointer
    takes a const argument, but was assigned to where a pointer taking an
    unqualified argument was expected.
    
    Reported by:    fallout
---
 graphics/sdl2_gpu/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/sdl2_gpu/Makefile b/graphics/sdl2_gpu/Makefile
index cc22b8848c50..3158ab345d46 100644
--- a/graphics/sdl2_gpu/Makefile
+++ b/graphics/sdl2_gpu/Makefile
@@ -19,6 +19,7 @@ GH_ACCOUNT=	grimfang4
 GH_PROJECT=	sdl-gpu
 
 CMAKE_ON=	USE_SYSTEM_GLEW DYNAMIC_GLES_3
+CFLAGS+=	-Wno-incompatible-function-pointer-types
 
 OPTIONS_DEFINE=	DOCS
 DOCS_CMAKE_BOOL=	BUILD_DOCS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306262327.35QNRxEQ016134>