1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

archivers/pecl-rar: fix build on 32-bits

/wrkdirs/usr/ports/archivers/pecl-rar/work-php82/rar-4.2.0/rararch.c:1237:42: error: incompatible function pointer types assigning to 'zend_object_count_elements_t' (aka 'ZEND_RESULT_CODE (*)(struct _zend_object *, int *)') from 'int (handler_this_t *, long *)' (aka 'int (struct _zend_object *, long *)') [-Wincompatible-function-pointer-types]
This commit is contained in:
Piotr Kubaj 2024-02-08 01:10:53 +01:00
parent a3d88605d2
commit 9b0ac181be

View File

@ -14,6 +14,8 @@ LICENSE= PHP301
USES= compiler:c11 php:build,pecl
CFLAGS+= -Wno-error=incompatible-function-pointer-types
CONFIGURE_ARGS= --enable-rar
.include <bsd.port.mk>