MFH: r561418

archivers/pecl-rar: fix build on GCC architectures

In file included from /wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/rararch.c:44:
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:15: error: redefinition of typedef 'handler_this_t'
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:15: error: previous declaration of 'handler_this_t' was here
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:19: error: redefinition of typedef 'rar_obj_ref'
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:19: error: previous declaration of 'rar_obj_ref' was here
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:46: error: redefinition of typedef 'zpp_s_size_t'
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:46: error: previous declaration of 'zpp_s_size_t' was here
This commit is contained in:
Piotr Kubaj 2021-01-13 02:14:55 +00:00
parent 12a4f4252d
commit f54c50bb45
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=561419

View File

@ -9,6 +9,6 @@ COMMENT= Extension to replace, rename, and remove user functions and classes
LICENSE= PHP301
USES= php:pecl
USES= compiler:c11 php:pecl
.include <bsd.port.mk>