mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04: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:
parent
a3d88605d2
commit
9b0ac181be
1 changed files with 2 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue