From f00cad86d8d4463f94e8dc470c297a4ea69c73a2 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Thu, 8 Feb 2024 01:59:10 +0100 Subject: [PATCH] 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