git: 5a91fc5c0aa2 - main - devel/py-donut-shellcode: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Jul 2023 15:28:06 UTC
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>