Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2017 12:56:14 +0000 (UTC)
From:      Torsten Zuehlsdorff <tz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r445145 - in head/www/php71-opcache: . files
Message-ID:  <201707061256.v66CuESe000690@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707061256.v66CuESe000690>