Browse Source

php8: update to 8.0.3

Also update opcache compile fix patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
lilik-openwrt-22.03
Michael Heimpold 4 years ago
parent
commit
e819f630a2
2 changed files with 16 additions and 2 deletions
  1. +2
    -2
      lang/php8/Makefile
  2. +14
    -0
      lang/php8/patches/1001-ext-opcache-fix-detection-of-shm-mmap.patch

+ 2
- 2
lang/php8/Makefile View 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


+ 14
- 0
lang/php8/patches/1001-ext-opcache-fix-detection-of-shm-mmap.patch View 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,

Loading…
Cancel
Save