This port has a typedef redefinition, which are not supported by base GCC.

Remove it to fix build on GCC-based architectures.

PR:		234305
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2018-12-26 12:07:41 +00:00
parent 7411d7a61d
commit 36e689e858
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488373

View file

@ -0,0 +1,11 @@
--- xdebug_compat.h.orig 2018-12-23 17:22:30 UTC
+++ xdebug_compat.h
@@ -75,8 +75,4 @@ zend_bool xdebug_zend_hash_apply_protection_end(HashTa
# define XDEBUG_ZEND_CONSTANT_MODULE_NUMBER(v) ((v)->module_number)
# endif
-# if PHP_VERSION_ID < 70300
-typedef void (*zif_handler)(INTERNAL_FUNCTION_PARAMETERS);
-# endif
-
#endif