Date: Sun, 11 Feb 2024 11:49:43 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5c4db1815ffa - main - x11-toolkits/p5-Prima: fix build on 32-bits Message-ID: <202402111149.41BBnhk0085228@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=5c4db1815ffa90d991a659bd469f6e4cf46a47a2 commit 5c4db1815ffa90d991a659bd469f6e4cf46a47a2 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-02-08 23:13:45 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-02-11 11:48:45 +0000 x11-toolkits/p5-Prima: fix build on 32-bits img/codec_Xpm.c:635:21: error: incompatible function pointer types assigning to 'Bool (*)(PImgCodec, PImgLoadFileInstance)' (aka 'long (*)(struct ImgCodec *, struct _ImgLoadFileInstance *)') from 'int (PImgCodec, PImgLoadFileInstance)' (aka 'int (struct ImgCodec *, struct _ImgLoadFileInstance *)') [-Wincompatible-function-pointer-types] vmt. load = load; ^ ~~~~ img/codec_Xpm.c:639:21: error: incompatible function pointer types assigning to 'Bool (*)(PImgCodec, PImgSaveFileInstance)' (aka 'long (*)(struct ImgCodec *, struct _ImgSaveFileInstance *)') from 'int (PImgCodec, PImgSaveFileInstance)' (aka 'int (struct ImgCodec *, struct _ImgSaveFileInstance *)') [-Wincompatible-function-pointer-types] vmt. save = save; ^ ~~~~ --- x11-toolkits/p5-Prima/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x11-toolkits/p5-Prima/Makefile b/x11-toolkits/p5-Prima/Makefile index 112b8ce312dc..07e20f93e9b4 100644 --- a/x11-toolkits/p5-Prima/Makefile +++ b/x11-toolkits/p5-Prima/Makefile @@ -58,6 +58,8 @@ XFT_CONFIGURE_OFF= WITH_XFT=0 XFT_CONFIGURE_ON= WITH_XFT=1 XFT_USE= XORG=xft +CFLAGS+= -Wno-error=incompatible-function-pointer-types + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Prima/Prima.so @${REINPLACE_CMD} -e 's|${STAGEDIR}||' ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/Prima/Config.pm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402111149.41BBnhk0085228>