Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2024 11:49:37 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: f00cad86d8d4 - main - net/py-zope.proxy: fix build on 32-bits
Message-ID:  <202402111149.41BBnbcg084964@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=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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402111149.41BBnbcg084964>