Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 12:04:06 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c1bc8c8d0a01 - main - graphics/gdchart: Fix build with llvm16
Message-ID:  <202306241204.35OC46Zt015521@gitrepo.freebsd.org>

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

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

commit c1bc8c8d0a01160b6013493eb80fb6172581b83d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 11:51:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 12:03:43 +0000

    graphics/gdchart: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 graphics/gdchart/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile
index 840961217d2d..844cd6ae5305 100644
--- a/graphics/gdchart/Makefile
+++ b/graphics/gdchart/Makefile
@@ -32,6 +32,10 @@ PLIST_SUB+=	PROFILE="@comment "
 PLIST_SUB+=	PROFILE=""
 .endif
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} \
 		-e 's/^#ifdef HAVE_JPEG/#ifndef NO_JPEG/' \



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