From 492a7f81b14ced60bb6094ca1c7d50596a3d2c0c Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Fri, 21 Jul 2023 20:18:30 +0200 Subject: [PATCH] sysutils/mtpfs: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- sysutils/mtpfs/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sysutils/mtpfs/Makefile b/sysutils/mtpfs/Makefile index 11d3402edd429..b105fa5ad2398 100644 --- a/sysutils/mtpfs/Makefile +++ b/sysutils/mtpfs/Makefile @@ -19,9 +19,16 @@ USES= autoreconf fuse gnome pkgconfig USE_GITHUB= yes GH_ACCOUNT= cjd GH_TAGNAME= fd3864dd6f0e8183fa2598d4cf890401d3a1e09a - USE_GNOME= glib20 + GNU_CONFIGURE= yes + PLIST_FILES= bin/mtpfs +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include