git: 9dee7b4d7099 - main - lang/php83: Update version 8.3.6=>8.3.7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 May 2024 23:24:03 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=9dee7b4d70990df394f20efda5bf1c675abecc3e commit 9dee7b4d70990df394f20efda5bf1c675abecc3e Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-05-11 23:07:07 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-05-11 23:07:58 +0000 lang/php83: Update version 8.3.6=>8.3.7 Changelog: https://www.php.net/ChangeLog-8.php#PHP_8_3 --- devel/php83-intl/Makefile | 1 - devel/php83-intl/files/patch-config.m4 | 22 ------------ lang/php83/Makefile | 14 +------- lang/php83/distinfo | 6 ++-- sysutils/php83-posix/files/patch-posix.c | 62 -------------------------------- 5 files changed, 4 insertions(+), 101 deletions(-) diff --git a/devel/php83-intl/Makefile b/devel/php83-intl/Makefile index fa5f5245ebaf..6f45613af1b8 100644 --- a/devel/php83-intl/Makefile +++ b/devel/php83-intl/Makefile @@ -1,4 +1,3 @@ -PORTREVISION= 1 CATEGORIES= devel MASTERDIR= ${.CURDIR}/../../lang/php83 diff --git a/devel/php83-intl/files/patch-config.m4 b/devel/php83-intl/files/patch-config.m4 deleted file mode 100644 index e78dbf7844e7..000000000000 --- a/devel/php83-intl/files/patch-config.m4 +++ /dev/null @@ -1,22 +0,0 @@ -https://github.com/php/php-src/commit/037855fcd3f2 - ---- config.m4.orig 2024-04-09 18:46:23 UTC -+++ config.m4 -@@ -80,7 +80,16 @@ if test "$PHP_INTL" != "no"; then - breakiterator/codepointiterator_methods.cpp" - - PHP_REQUIRE_CXX() -- PHP_CXX_COMPILE_STDCXX(11, mandatory, PHP_INTL_STDCXX) -+ -+ AC_MSG_CHECKING([if intl requires -std=gnu++17]) -+ AS_IF([test "$PKG_CONFIG icu-uc --atleast-version=74"],[ -+ AC_MSG_RESULT([yes]) -+ PHP_CXX_COMPILE_STDCXX(17, mandatory, PHP_INTL_STDCXX) -+ ],[ -+ AC_MSG_RESULT([no]) -+ PHP_CXX_COMPILE_STDCXX(11, mandatory, PHP_INTL_STDCXX) -+ ]) -+ - PHP_INTL_CXX_FLAGS="$INTL_COMMON_FLAGS $PHP_INTL_STDCXX $ICU_CXXFLAGS" - case $host_alias in - *cygwin*) PHP_INTL_CXX_FLAGS="$PHP_INTL_CXX_FLAGS -D_POSIX_C_SOURCE=200809L" diff --git a/lang/php83/Makefile b/lang/php83/Makefile index e668c7be4dbc..63d1f8748a58 100644 --- a/lang/php83/Makefile +++ b/lang/php83/Makefile @@ -1,5 +1,5 @@ PORTNAME= php83 -DISTVERSION= 8.3.6 +DISTVERSION= 8.3.7 PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions @@ -580,18 +580,6 @@ USE_GNOME= libxml2 USE_PHP= dom:build .endif -.if ${PHP_MODNAME} == "xmlrpc" -CONFIGURE_ARGS+= --with-iconv-dir=${LOCALBASE} \ - --with-xmlrpc - -USES+= iconv:translit -USE_GNOME= libxml2 - -PHP_HEADER_DIRS= libxmlrpc - -USE_PHP= xml:build -.endif - .if ${PHP_MODNAME} == "xmlwriter" CONFIGURE_ARGS+= --enable-xmlwriter diff --git a/lang/php83/distinfo b/lang/php83/distinfo index 8f560080c4f7..91e75c24642d 100644 --- a/lang/php83/distinfo +++ b/lang/php83/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1712934563 -SHA256 (php-8.3.6.tar.xz) = 53c8386b2123af97626d3438b3e4058e0c5914cb74b048a6676c57ac647f5eae -SIZE (php-8.3.6.tar.xz) = 12468116 +TIMESTAMP = 1715457851 +SHA256 (php-8.3.7.tar.xz) = d53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a +SIZE (php-8.3.7.tar.xz) = 12456020 diff --git a/sysutils/php83-posix/files/patch-posix.c b/sysutils/php83-posix/files/patch-posix.c deleted file mode 100644 index c97a44fcff96..000000000000 --- a/sysutils/php83-posix/files/patch-posix.c +++ /dev/null @@ -1,62 +0,0 @@ ---- posix.c.orig 2024-01-17 22:28:09 UTC -+++ posix.c -@@ -477,7 +477,11 @@ PHP_FUNCTION(posix_ttyname) - #if defined(ZTS) && defined(HAVE_TTYNAME_R) && defined(_SC_TTY_NAME_MAX) - buflen = sysconf(_SC_TTY_NAME_MAX); - if (buflen < 1) { -+#if defined(__FreeBSD__) && defined(_SC_PAGESIZE) -+ buflen = sysconf(_SC_PAGESIZE); -+#else - RETURN_FALSE; -+#endif - } - p = emalloc(buflen); - -@@ -784,7 +788,11 @@ PHP_FUNCTION(posix_getgrnam) - #if defined(ZTS) && defined(HAVE_GETGRNAM_R) && defined(_SC_GETGR_R_SIZE_MAX) - buflen = sysconf(_SC_GETGR_R_SIZE_MAX); - if (buflen < 1) { -+#if defined(__FreeBSD__) && defined(_SC_PAGESIZE) -+ buflen = sysconf(_SC_PAGESIZE); -+#else - RETURN_FALSE; -+#endif - } - buf = emalloc(buflen); - try_again: -@@ -840,7 +848,11 @@ PHP_FUNCTION(posix_getgrgid) - - grbuflen = sysconf(_SC_GETGR_R_SIZE_MAX); - if (grbuflen < 1) { -+#if defined(__FreeBSD__) && defined(_SC_PAGESIZE) -+ grbuflen = sysconf(_SC_PAGESIZE); -+#else - RETURN_FALSE; -+#endif - } - - grbuf = emalloc(grbuflen); -@@ -914,7 +926,11 @@ PHP_FUNCTION(posix_getpwnam) - #if defined(ZTS) && defined(_SC_GETPW_R_SIZE_MAX) && defined(HAVE_GETPWNAM_R) - buflen = sysconf(_SC_GETPW_R_SIZE_MAX); - if (buflen < 1) { -+#if defined(__FreeBSD__) && defined(_SC_PAGESIZE) -+ buflen = sysconf(_SC_PAGESIZE); -+#else - RETURN_FALSE; -+#endif - } - buf = emalloc(buflen); - pw = &pwbuf; -@@ -969,7 +985,11 @@ PHP_FUNCTION(posix_getpwuid) - #if defined(ZTS) && defined(_SC_GETPW_R_SIZE_MAX) && defined(HAVE_GETPWUID_R) - pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX); - if (pwbuflen < 1) { -+#if defined(__FreeBSD__) && defined(_SC_PAGESIZE) -+ pwbuflen = sysconf(_SC_PAGESIZE); -+#else - RETURN_FALSE; -+#endif - } - pwbuf = emalloc(pwbuflen); -