Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2023 15:28: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: 5a91fc5c0aa2 - main - devel/py-donut-shellcode: Fix build with llvm16
Message-ID:  <202307191528.36JFS6lt017685@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=5a91fc5c0aa23e858d9a72fd87b01a3bd2bd73d9

commit 5a91fc5c0aa23e858d9a72fd87b01a3bd2bd73d9
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-19 15:02:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-19 15:27:54 +0000

    devel/py-donut-shellcode: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 devel/py-donut-shellcode/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/py-donut-shellcode/Makefile b/devel/py-donut-shellcode/Makefile
index b6e8be968ec2..d17f837bc721 100644
--- a/devel/py-donut-shellcode/Makefile
+++ b/devel/py-donut-shellcode/Makefile
@@ -16,4 +16,10 @@ USE_PYTHON=	distutils autoplist
 
 DOS2UNIX_GLOB=	*.py
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 .include <bsd.port.mk>



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