aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php53/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php53/Makefile')
-rw-r--r--lang/php53/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/lang/php53/Makefile b/lang/php53/Makefile
index 412016bfd376..9278c9c87ea2 100644
--- a/lang/php53/Makefile
+++ b/lang/php53/Makefile
@@ -59,8 +59,7 @@ MAN1= php-config.1 phpize.1
PATCH_DIST_STRIP= -p1
.if !defined(WITHOUT_SUHOSIN)
-#PATCHFILES+= suhosin-patch-${PORTVERSION}-0.9.10.patch.gz:suhosin
-PATCHFILES+= suhosin-patch-5.3.3-0.9.10.patch.gz:suhosin
+PATCHFILES+= suhosin-patch-${PORTVERSION}-0.9.10.patch.gz:suhosin
PATCH_SITES+= http://download.suhosin.org/:suhosin
PLIST_SUB+= SUHOSIN=""
.else
@@ -158,13 +157,6 @@ CONFIGURE_ARGS+=--enable-zend-multibyte
CONFIGURE_ARGS+=--disable-ipv6
.endif
-pre-patch:
-# To be removed after suhosin update
-.if !defined(WITHOUT_SUHOSIN)
- @${REINPLACE_CMD} -E 's|REPORT_ERRORS TSRMLS_CC, "%s", error|REPORT_ERRORS TSRMLS_CC, error|' \
- ${WRKSRC}/ext/phar/stream.c
-.endif
-
post-patch:
@${TOUCH} ${WRKSRC}/ext/php_config.h
@${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-*