pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/php84



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Apr 13 15:59:18 UTC 2025

Modified Files:
        pkgsrc/lang/php84: distinfo
        pkgsrc/lang/php84/patches: patch-build_Makefile.global

Log Message:
lang/php84: update to 8.4.6

This is a bug fix release.

PHP 8.4.6 (2025-04-10)

BCMath:
* Fixed pointer subtraction for scale.

Core:
* Fixed property hook backing value access in multi-level inheritance.
* Fixed accidentally inherited default value in overridden virtual
  properties.
* Fixed bug GH-17376 (Broken JIT polymorphism for property hooks added to
  child class).
* Fixed bug GH-17913 (ReflectionFunction::isDeprecated() returns incorrect
  results for closures created from magic __call()).
* Fixed bug GH-17941 (Stack-use-after-return with lazy objects and hooks).
* Fixed bug GH-17988 (Incorrect handling of hooked props without get hook in
  get_object_vars()).
* Fixed bug GH-17998 (Skipped lazy object initialization on primed
  SIMPLE_WRITE cache).
* Fixed bug GH-17998 (Assignment to backing value in set hook of lazy proxy
  calls hook again).
* Fixed bug GH-17961 (use-after-free during dl()'ed module class
  destruction).
* Fixed bug GH-15367 (dl() of module with aliased class crashes in
  shutdown).
* Fixed OSS-Fuzz #403308724.
* Fixed bug GH-13193 again (Significant performance degradation in
  'foreach').

DBA:
* Fixed assertion violation when opening the same file with dba_open
  multiple times.

DOM:
* Fixed bug GH-17991 (Assertion failure dom_attr_value_write).
* Fix weird unpack behaviour in DOM.
* Fixed bug GH-18090 (DOM: Svg attributes and tag names are being
  lowercased).
* Fix xinclude destruction of live attributes.

Fuzzer:
* Fixed bug GH-18081 (Memory leaks in error paths of fuzzer SAPI).

GD:
* Fixed bug GH-17984 (calls with arguments as array with references).

LDAP:
* Fixed bug GH-18015 (Error messages for ldap_mod_replace are confusing).

Mbstring:
* Fixed bug GH-17989 (mb_output_handler crash with unset
  http_output_conv_mimetypes).

Opcache:
* Fixed bug GH-15834 (Segfault with hook "simple get" cache slot and minimal
  JIT).
* Fixed bug GH-17966 (Symfony JIT 1205 assertion failure).
* Fixed bug GH-18037 (SEGV Zend/zend_execute.c).
* Fixed bug GH-18050 (IN_ARRAY optimization in DFA pass is broken).
* Fixed bug GH-18113 (stack-buffer-overflow ext/opcache/jit/ir/ir_sccp.c).
* Fixed bug GH-18112 (NULL access with preloading and INI option).
* Fixed bug GH-18107 (Opcache CFG jmp optimization with try-finally breaks
  the exception table).

PDO:
* Fix memory leak when destroying PDORow.

Standard:
* Fix memory leaks in array_any() / array_all().

SOAP:
* Fixed bug #66049 (Typemap can break parsing in parse_packet_soap leading
  to a segfault) .

SPL:
* Fixed bug GH-18018 (RC1 data returned from offsetGet causes UAF in
  ArrayObject).

Treewide:
* Fixed bug GH-17736 (Assertion failure zend_reference_destroy()).

Windows:
* Fixed bug GH-17836 (zend_vm_gen.php shouldn't break on Windows line
  endings).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/php84/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/php84/patches/patch-build_Makefile.global

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/php84/distinfo
diff -u pkgsrc/lang/php84/distinfo:1.3 pkgsrc/lang/php84/distinfo:1.4
--- pkgsrc/lang/php84/distinfo:1.3      Mon Apr  7 17:33:37 2025
+++ pkgsrc/lang/php84/distinfo  Sun Apr 13 15:59:18 2025
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.3 2025/04/07 17:33:37 taca Exp $
+$NetBSD: distinfo,v 1.4 2025/04/13 15:59:18 taca Exp $
 
-BLAKE2s (php-8.4.5.tar.xz) = c485bb09cdf91e15b8cc7042a0fea82908d6d3724be7cb37f0db857924017a8c
-SHA512 (php-8.4.5.tar.xz) = 02dc98ae1b8450eff1510bad40c790c1b0e79cb89cd63f40a43a0e538b7b19a70650105d01d6710bc4ecc1bc193f066c995f572f3b57f901f958db5a1f97c97c
-Size (php-8.4.5.tar.xz) = 13604056 bytes
-SHA1 (patch-build_Makefile.global) = 0d3e9c171782cc40576c377387d7c5e93add4d7f
+BLAKE2s (php-8.4.6.tar.xz) = b3cd479635ad07ec3ed544381624385062558a16d083e62a0b412414a665a23b
+SHA512 (php-8.4.6.tar.xz) = aa39d97f7ffcc851bdfe674e9cccdca6e55cb4938584c1dc301746544364efb541bec242372a90ad370d802f717c8dff6054450a311a6fceb07073c922c04247
+Size (php-8.4.6.tar.xz) = 13612892 bytes
+SHA1 (patch-build_Makefile.global) = da9577733497d026315b4702cb19d673053148ed
 SHA1 (patch-build_php.m4) = bb72e38ab391ad587962940ba85e8d4de8633dca
 SHA1 (patch-configure.ac) = 2bdd1d2b1def552032dba5fbeb6140922b72c880
 SHA1 (patch-ext_phar_Makefile.frag) = 53ea5c58b0bc27d236118d5750a74b1cba43e5dd

Index: pkgsrc/lang/php84/patches/patch-build_Makefile.global
diff -u pkgsrc/lang/php84/patches/patch-build_Makefile.global:1.1 pkgsrc/lang/php84/patches/patch-build_Makefile.global:1.2
--- pkgsrc/lang/php84/patches/patch-build_Makefile.global:1.1   Sat Feb 22 15:27:56 2025
+++ pkgsrc/lang/php84/patches/patch-build_Makefile.global       Sun Apr 13 15:59:18 2025
@@ -1,10 +1,10 @@
-$NetBSD: patch-build_Makefile.global,v 1.1 2025/02/22 15:27:56 taca Exp $
+$NetBSD: patch-build_Makefile.global,v 1.2 2025/04/13 15:59:18 taca Exp $
 
 * Add ${PHP_VER} suffix.
 
---- build/Makefile.global.orig 2025-01-15 01:03:17.000000000 +0000
+--- build/Makefile.global.orig 2025-04-08 19:55:31.000000000 +0000
 +++ build/Makefile.global
-@@ -14,22 +14,22 @@ build-modules: $(PHP_MODULES) $(PHP_ZEND
+@@ -14,26 +14,26 @@ build-modules: $(PHP_MODULES) $(PHP_ZEND
  
  build-binaries: $(PHP_BINARIES)
  
@@ -13,6 +13,11 @@ $NetBSD: patch-build_Makefile.global,v 1
        $(LIBTOOL) --tag=CC --mode=link $(CC) $(LIBPHP_CFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) 
$(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
        -@$(LIBTOOL) --tag=CC --mode=install cp $@ $(phptempdir)/$@ >/dev/null 2>&1
  
+-libphp.dylib: libphp.la
++libphp$(PHP_VER).dylib: libphp$(PHP_VER).la
+       $(LIBTOOL) --tag=CC --mode=link $(CC) -dynamiclib $(LIBPHP_CFLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -rpath $(phptempdir) -install_name @rpath/$@ $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) 
$(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
+       -@$(LIBTOOL) --silent --tag=CC --mode=install cp $@ $(phptempdir)/$@ >/dev/null 2>&1
+ 
 -libs/libphp.bundle: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
 -      $(CC) $(MH_BUNDLE_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(PHP_GLOBAL_OBJS:.lo=.o) $(PHP_SAPI_OBJS:.lo=.o) $(PHP_FRAMEWORKS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ 
&& cp $@ libs/libphp.so
 +libs/libphp$(PHP_VER).bundle: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
@@ -29,11 +34,11 @@ $NetBSD: patch-build_Makefile.global,v 1
 -                      if test -r $(phptempdir)/libphp.$(SHLIB_DL_SUFFIX_NAME).$$i; then \
 -                              $(LN_S) $(phptempdir)/libphp.$(SHLIB_DL_SUFFIX_NAME).$$i $(phptempdir)/libphp.$(SHLIB_DL_SUFFIX_NAME); \
 +                      if test -r $(phptempdir)/libphp$(PHP_VER).$(SHLIB_DL_SUFFIX_NAME).$$i; then \
-+                              $(LN_S) $(phptempdir)/libphp$(PHP_VER).$(SHLIB_DL_SUFFIX_NAME).$$i $(phptempdir)/libphp$(PHP_VER).$(SHLIB_DL_SUFFIX_NAME); \
++                              $(LN_S) $(phptempdir)/libphp$(PHP_VER).$(SHLIB_DL_SUFFIX_NAME).$$i $(phptempdir)/libphp.$(SHLIB_DL_SUFFIX_NAME); \
                                break; \
                        fi; \
                done; \
-@@ -117,7 +117,7 @@ clean:
+@@ -121,7 +121,7 @@ clean:
        find . -name \*.la -o -name \*.a | xargs rm -f
        find . -name \*.so | xargs rm -f
        find . -name .libs -a -type d|xargs rm -rf
@@ -42,7 +47,7 @@ $NetBSD: patch-build_Makefile.global,v 1
        rm -f ext/opcache/jit/ir/gen_ir_fold_hash
        rm -f ext/opcache/jit/ir/minilua
        rm -f ext/opcache/jit/ir/ir_fold_hash.h
-@@ -143,7 +143,7 @@ prof-clean:
+@@ -147,7 +147,7 @@ prof-clean:
        find . -name \*.lo -o -name \*.o | xargs rm -f
        find . -name \*.la -o -name \*.a | xargs rm -f
        find . -name \*.so | xargs rm -f



Home | Main Index | Thread Index | Old Index