git: f00cad86d8d4 - main - net/py-zope.proxy: fix build on 32-bits

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 11 Feb 2024 11:49:37 UTC
The branch main has been updated by pkubaj:

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

commit f00cad86d8d4463f94e8dc470c297a4ea69c73a2
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-02-08 00:59:10 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-02-11 11:48:40 +0000

    net/py-zope.proxy: fix build on 32-bits
    
    src/zope/proxy/_zope_proxy_proxy.c:887:5: error: incompatible function pointer types initializing 'hashfunc' (aka 'int (*)(struct _object *)') with an expression of type 'long (PyObject *)' (aka 'long (struct _object *)') [-Wincompatible-function-pointer-types]
---
 net/py-zope.proxy/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/py-zope.proxy/Makefile b/net/py-zope.proxy/Makefile
index 3a3e7db0b0c9..cafb5221f210 100644
--- a/net/py-zope.proxy/Makefile
+++ b/net/py-zope.proxy/Makefile
@@ -16,4 +16,6 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}zope.interface>=3.3.0:devel/py-zope.interf
 USES=		python
 USE_PYTHON=	distutils autoplist
 
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+
 .include <bsd.port.mk>