diff options
Diffstat (limited to 'www/php73-opcache')
-rw-r--r-- | www/php73-opcache/Makefile | 13 | ||||
-rw-r--r-- | www/php73-opcache/files/patch-zend__file__cache.c | 14 |
2 files changed, 27 insertions, 0 deletions
diff --git a/www/php73-opcache/Makefile b/www/php73-opcache/Makefile new file mode 100644 index 000000000000..bd4aa1cf5891 --- /dev/null +++ b/www/php73-opcache/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +CATEGORIES= www + +MASTERDIR= ${.CURDIR}/../../lang/php73 + +PKGNAMESUFFIX= -opcache + +TEST_TARGET= test + +USES= php:zend,noflavors + +.include "${MASTERDIR}/Makefile" diff --git a/www/php73-opcache/files/patch-zend__file__cache.c b/www/php73-opcache/files/patch-zend__file__cache.c new file mode 100644 index 000000000000..937290216eef --- /dev/null +++ b/www/php73-opcache/files/patch-zend__file__cache.c @@ -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" |