svn commit: r445145 - in head/www/php71-opcache: . files

Torsten Zuehlsdorff tz at FreeBSD.org
Thu Jul 6 12:56:16 UTC 2017


Author: tz
Date: Thu Jul  6 12:56:14 2017
New Revision: 445145
URL: https://svnweb.freebsd.org/changeset/ports/445145

Log:
  www/php71-opcache: Fix 'Undefined symbol "zend_file_cache_script_load"'
  
  Add patch to fix PHP bug #74766:
  https://bugs.php.net/bug.php?id=74766
  
  PR:          220430
  Reported by: Bernard Spil <brnrd at FreeBSD.org>
  MFH:         2017Q3

Added:
  head/www/php71-opcache/files/
  head/www/php71-opcache/files/patch-zend__file__cache.c   (contents, props changed)
Modified:
  head/www/php71-opcache/Makefile

Modified: head/www/php71-opcache/Makefile
==============================================================================
--- head/www/php71-opcache/Makefile	Thu Jul  6 12:39:59 2017	(r445144)
+++ head/www/php71-opcache/Makefile	Thu Jul  6 12:56:14 2017	(r445145)
@@ -1,6 +1,7 @@
 # $FreeBSD$
 
 CATEGORIES=	www
+PORTREVISION=	1
 
 MASTERDIR=	${.CURDIR}/../../lang/php71
 

Added: head/www/php71-opcache/files/patch-zend__file__cache.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/php71-opcache/files/patch-zend__file__cache.c	Thu Jul  6 12:56:14 2017	(r445145)
@@ -0,0 +1,14 @@
+--- zend_file_cache.c.orig	2017-07-05 13:48:27 UTC
++++ zend_file_cache.c
+@@ -24,9 +24,10 @@
+ 
+ #include "php.h"
+ 
++#include "ZendAccelerator.h"
++
+ #ifdef HAVE_OPCACHE_FILE_CACHE
+ 
+-#include "ZendAccelerator.h"
+ #include "zend_file_cache.h"
+ #include "zend_shared_alloc.h"
+ #include "zend_accelerator_util_funcs.h"


More information about the svn-ports-all mailing list