git: b49543b3fcec - main - math/py-libpoly: fix build on 32-bits

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

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

commit b49543b3fcecbb7eddebad4a4f1d5d4c12aebaca
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-02-09 21:43:29 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-02-11 11:49:01 +0000

    math/py-libpoly: fix build on 32-bits
---
 math/py-libpoly/Makefile | 5 +++--
 math/py-libpoly/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/math/py-libpoly/Makefile b/math/py-libpoly/Makefile
index 393c258fa797..2d2998e3c437 100644
--- a/math/py-libpoly/Makefile
+++ b/math/py-libpoly/Makefile
@@ -4,6 +4,9 @@ DISTVERSION=	0.1.13
 CATEGORIES=	math
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
+PATCH_SITES=	https://github.com/SRI-CSL/libpoly/commit/
+PATCHFILES=	48f48f945111ab021bed4ad4f192f2cac0c2e84b.patch:-p1
+
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Python binding for libpoly
 WWW=		https://github.com/SRI-CSL/libpoly
@@ -11,8 +14,6 @@ WWW=		https://github.com/SRI-CSL/libpoly
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENCE
 
-BROKEN_i386=	compilation fails with error: incompatible function pointer types, see https://github.com/SRI-CSL/libpoly/issues/70
-
 LIB_DEPENDS=	libpoly.so:math/libpoly
 
 USES=		cmake localbase:ldflags python
diff --git a/math/py-libpoly/distinfo b/math/py-libpoly/distinfo
index e330d9e2086b..e6c77d6e3e06 100644
--- a/math/py-libpoly/distinfo
+++ b/math/py-libpoly/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1690956795
+TIMESTAMP = 1707514827
 SHA256 (SRI-CSL-libpoly-v0.1.13_GH0.tar.gz) = ca7092eeeced3dd8bd86cdd3410207802ef1752d7052d92eee3e9e6bb496763c
 SIZE (SRI-CSL-libpoly-v0.1.13_GH0.tar.gz) = 621704
+SHA256 (48f48f945111ab021bed4ad4f192f2cac0c2e84b.patch) = 6ea0843a890445bf54b267111bf6515ba8931f72b8d2dd509bdf4d171f3be692
+SIZE (48f48f945111ab021bed4ad4f192f2cac0c2e84b.patch) = 2511