php8: update to 8.0.3
authorMichael Heimpold <mhei@heimpold.de>
Thu, 4 Mar 2021 22:08:55 +0000 (23:08 +0100)
committerMichael Heimpold <mhei@heimpold.de>
Sat, 6 Mar 2021 19:34:10 +0000 (20:34 +0100)
Also update opcache compile fix patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
lang/php8/Makefile
lang/php8/patches/1001-ext-opcache-fix-detection-of-shm-mmap.patch

index 45fdf71904cc40460db1870c2f61a94504b400f9..e9637cd23302a11d52f121d66e68845da6d47b45 100644 (file)
@@ -6,7 +6,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=php
-PKG_VERSION:=8.0.2
+PKG_VERSION:=8.0.3
 PKG_RELEASE:=1
 
 PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de>
@@ -16,7 +16,7 @@ PKG_CPE_ID:=cpe:/a:php:php
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=http://www.php.net/distributions/
-PKG_HASH:=84dd6e36f48c3a71ff5dceba375c1f6b34b71d4fa9e06b720780127176468ccc
+PKG_HASH:=c9816aa9745a9695672951eaff3a35ca5eddcb9cacf87a4f04b9fb1169010251
 
 PKG_BUILD_PARALLEL:=1
 PKG_USE_MIPS16:=0
index 4fe7bccd5a8b4147e674c7eb6f9905252522eaee..969664a20120bea54299a191432ff720c939e037 100644 (file)
@@ -44,3 +44,17 @@ Signed-off-by: Michael Heimpold <mhei@heimpold.de>
    AC_MSG_RESULT([$have_shm_mmap_anon=yes])
  
    PHP_CHECK_FUNC_LIB(shm_open, rt, root)
+@@ -294,8 +300,11 @@ int main() {
+     PHP_CHECK_LIBRARY(rt, shm_unlink, [PHP_ADD_LIBRARY(rt,1,OPCACHE_SHARED_LIBADD)])
+   ],[
+     AC_MSG_RESULT([no])
+-  ],[
+-    AC_MSG_RESULT([no])
++  ],[dnl
++    AC_DEFINE(HAVE_SHM_MMAP_POSIX, 1, [Define if you have POSIX mmap() SHM support])
++    AC_MSG_RESULT([yes])
++    have_shm_mmap_posix=yes
++    PHP_CHECK_LIBRARY(rt, shm_unlink, [PHP_ADD_LIBRARY(rt,1,OPCACHE_SHARED_LIBADD)])
+   ])
+   PHP_NEW_EXTENSION(opcache,