svn commit: r561428 - head/archivers/pecl-rar

Piotr Kubaj pkubaj at FreeBSD.org
Wed Jan 13 02:51:52 UTC 2021


Author: pkubaj
Date: Wed Jan 13 02:51:51 2021
New Revision: 561428
URL: https://svnweb.freebsd.org/changeset/ports/561428

Log:
  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
  
  MFH:		2021Q1

Modified:
  head/archivers/pecl-rar/Makefile

Modified: head/archivers/pecl-rar/Makefile
==============================================================================
--- head/archivers/pecl-rar/Makefile	Wed Jan 13 02:44:55 2021	(r561427)
+++ head/archivers/pecl-rar/Makefile	Wed Jan 13 02:51:51 2021	(r561428)
@@ -10,7 +10,7 @@ COMMENT=	PECL extension to create and read RAR files
 
 LICENSE=	PHP301
 
-USES=		php:pecl
+USES=		compiler:c11 php:pecl
 USE_PHP=	spl:build
 
 CONFIGURE_ARGS=	--enable-rar


More information about the svn-ports-head mailing list