git: dffb9a8c7fe9 - main - lang/php83: Update version 8.3.9=>8.3.10

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 01 Aug 2024 19:37:29 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dffb9a8c7fe958d0b3caa623e3b366e59da11c58

commit dffb9a8c7fe958d0b3caa623e3b366e59da11c58
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-08-01 18:09:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-08-01 19:21:37 +0000

    lang/php83: Update version 8.3.9=>8.3.10
    
    Changelog: https://www.php.net/ChangeLog-8.php#8.3.10
---
 lang/php83/Makefile                            |  2 +-
 lang/php83/distinfo                            |  6 +++---
 lang/php83/files/patch-ext_standard_filestat.c | 26 --------------------------
 lang/php83/files/patch-main_fopen__wrappers.c  | 14 --------------
 lang/php83/files/patch-main_main.c             | 14 --------------
 5 files changed, 4 insertions(+), 58 deletions(-)

diff --git a/lang/php83/Makefile b/lang/php83/Makefile
index 392e005a4f2c..bde38ae02f7b 100644
--- a/lang/php83/Makefile
+++ b/lang/php83/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	php83
-DISTVERSION=	8.3.9
+DISTVERSION=	8.3.10
 PORTREVISION?=	0
 CATEGORIES?=	lang devel www
 MASTER_SITES=	PHP/distributions
diff --git a/lang/php83/distinfo b/lang/php83/distinfo
index a2e38ce1bced..2cdfb4ce2f8d 100644
--- a/lang/php83/distinfo
+++ b/lang/php83/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1722082762
-SHA256 (php-8.3.9.tar.xz) = bf4d7b8ea60a356064f88485278bd6f941a230ec16f0fc401574ce1445ad6c77
-SIZE (php-8.3.9.tar.xz) = 12470616
+TIMESTAMP = 1722527827
+SHA256 (php-8.3.10.tar.xz) = a0f2179d00931fe7631a12cbc3428f898ca3d99fe564260c115af381d2a1978d
+SIZE (php-8.3.10.tar.xz) = 12484660
diff --git a/lang/php83/files/patch-ext_standard_filestat.c b/lang/php83/files/patch-ext_standard_filestat.c
deleted file mode 100644
index eb08358dedfa..000000000000
--- a/lang/php83/files/patch-ext_standard_filestat.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- ext/standard/filestat.c.orig	2024-01-17 22:13:37 UTC
-+++ ext/standard/filestat.c
-@@ -281,7 +281,11 @@ PHPAPI zend_result php_get_gid_by_name(const char *nam
- 		char *grbuf;
- 
- 		if (grbuflen < 1) {
-+#if defined(__FreeBSD__) && defined(_SC_PAGESIZE)
-+			grbuflen = sysconf(_SC_PAGESIZE);
-+#else
- 			return FAILURE;
-+#endif
- 		}
- 
- 		grbuf = emalloc(grbuflen);
-@@ -407,7 +411,11 @@ PHPAPI zend_result php_get_uid_by_name(const char *nam
- 		char *pwbuf;
- 
- 		if (pwbuflen < 1) {
-+#if defined(__FreeBSD__) && defined(_SC_PAGESIZE)
-+			pwbuflen = sysconf(_SC_PAGESIZE);
-+#else
- 			return FAILURE;
-+#endif
- 		}
- 
- 		pwbuf = emalloc(pwbuflen);
diff --git a/lang/php83/files/patch-main_fopen__wrappers.c b/lang/php83/files/patch-main_fopen__wrappers.c
deleted file mode 100644
index 4044ea70b113..000000000000
--- a/lang/php83/files/patch-main_fopen__wrappers.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- main/fopen_wrappers.c.orig	2024-01-17 22:12:12 UTC
-+++ main/fopen_wrappers.c
-@@ -381,7 +381,11 @@ PHPAPI int php_fopen_primary_script(zend_file_handle *
- 			char *pwbuf;
- 
- 			if (pwbuflen < 1) {
-+#if defined(__FreeBSD__) && defined(_SC_PAGESIZE)
-+				pwbuflen = sysconf(_SC_PAGESIZE);
-+#else
- 				return FAILURE;
-+#endif
- 			}
- 
- 			pwbuf = emalloc(pwbuflen);
diff --git a/lang/php83/files/patch-main_main.c b/lang/php83/files/patch-main_main.c
deleted file mode 100644
index 5a0c3c558cfe..000000000000
--- a/lang/php83/files/patch-main_main.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- main/main.c.orig	2024-01-17 22:08:35 UTC
-+++ main/main.c
-@@ -1459,7 +1459,11 @@ PHPAPI char *php_get_current_user(void)
- 		char *pwbuf;
- 
- 		if (pwbuflen < 1) {
-+#if defined(__FreeBSD__) && defined(_SC_PAGESIZE)
-+			pwbuflen = sysconf(_SC_PAGESIZE);
-+#else
- 			return "";
-+#endif
- 		}
- 		pwbuf = emalloc(pwbuflen);
- 		if (getpwuid_r(pstat->st_uid, &_pw, pwbuf, pwbuflen, &retpwptr) != 0) {