summaryrefslogtreecommitdiff
path: root/user/php7/pwbuflen.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-03-25 07:26:01 +0000
committerMax Rees <maxcrees@me.com>2020-04-05 12:22:26 +0000
commit1898956d4fb51404a527e909230781848a9d3118 (patch)
tree809d21e6b0aa650fd626123b63b43b5cf64bf133 /user/php7/pwbuflen.patch
parent7f8d4d642ad643f553e0fe74c0d48d59c81d178c (diff)
downloadpackages-1898956d4fb51404a527e909230781848a9d3118.tar.gz
packages-1898956d4fb51404a527e909230781848a9d3118.tar.bz2
packages-1898956d4fb51404a527e909230781848a9d3118.tar.xz
packages-1898956d4fb51404a527e909230781848a9d3118.zip
user/php7: bump to 7.4.4
* Use system libgd * Use system oniguruma * Upstream has migrated from pcre to pcre2 * Drop comments about extensions that aren't being built (imap, recode, sodium, tidy) * Drop php7-wddx (has been removed from core upstream) * Drop php7-litespeed (I don't think anyone uses this) * Pin subpackage versions to main package * Fix _extensions_by_load_order so all extensions are tested * This increases the test suite size from ~ 9000 to ~ 15000 * Add additional API/ABI checks from Fedora
Diffstat (limited to 'user/php7/pwbuflen.patch')
-rw-r--r--user/php7/pwbuflen.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/user/php7/pwbuflen.patch b/user/php7/pwbuflen.patch
deleted file mode 100644
index 7d2685b55..000000000
--- a/user/php7/pwbuflen.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-sysconf(_SC_GETPW_R_SIZE_MAX) returns -1 on musl and 1024 on glibc.
-
---- php-7.2.6/main/main.c 2018-06-04 23:30:18.790089810 -0400
-+++ php-7.2.6/main/main.c 2018-06-04 23:30:14.660089806 -0400
-@@ -1315,7 +1315,9 @@
- int pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX);
- char *pwbuf;
-
-- if (pwbuflen < 1) {
-+ if (pwbuflen == -1) {
-+ pwbuflen = 1024;
-+ } else if (pwbuflen < 1) {
- return "";
- }
- pwbuf = emalloc(pwbuflen);