SHA256
1
0
forked from pool/php8
Files
php8/php-date-regenerate-lexers.patch
Arjen de Korte 285519dca3 - version update to 8.3.10
Core:
        Fixed bug GH-13922 (Fixed support for systems with sysconf(_SC_GETPW_R_SIZE_MAX) == -1).
        Fixed bug GH-14626 (Fix is_zend_ptr() for huge blocks).
        Fixed bug GH-14590 (Memory leak in FPM test gh13563-conf-bool-env.phpt.
        Fixed OSS-Fuzz #69765.
        Fixed bug GH-14741 (Segmentation fault in Zend/zend_types.h).
        Fixed bug GH-14969 (Use-after-free in property coercion with __toString()).
    Dom:
        Fixed bug GH-14702 (DOMDocument::xinclude() crash).
    Fileinfo:
        Fixed bug GH-14888 (README.REDIST.BINS refers to non-existing LICENSE).
    Gd:
        ext/gd/tests/gh10614.phpt: skip if no PNG support.
        restored warning instead of fata error.
    LibXML:
        Fixed bug GH-14563 (Build failure with libxml2 v2.13.0).
    Opcache:
        Fixed bug GH-14550 (No warning message when Zend DTrace is enabled that opcache.jit is implictly disabled).
    Output:
        Fixed bug GH-14808 (Unexpected null pointer in Zend/zend_string.h with empty output buffer).
    PDO:
        Fixed bug GH-14712 (Crash with PDORow access to null property).
    Phar:
        Fixed bug GH-14603 (null string from zip entry).
    PHPDBG:
        Fixed bug GH-14596 (crashes with ASAN and ZEND_RC_DEBUG=1).
        Fixed bug GH-14553 (echo output trimmed at NULL byte).
    Shmop:
        Fixed bug GH-14537 (shmop Windows 11 crashes the process).
    SPL:
        Fixed bug GH-14639 (Member access within null pointer in ext/spl/spl_observer.c).
    Standard:
        Fixed bug GH-14775 (range function overflow with negative step argument).
        Fix 32-bit wordwrap test failures.
        Fixed bug GH-14774 (time_sleep_until overflow).
    Streams:
        Fixed bug GH-14930 (Custom stream wrapper dir_readdir output truncated to 255 characters in PHP 8.3).
    Tidy:
        Fix memory leak in tidy_repair_file().
    Treewide:
        Fix compatibility with libxml2 2.13.2.
    XML:
        Move away from to-be-deprecated libxml fields.
        Fixed bug GH-14834 (Error installing PHP when --with-pear is used).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:php/php8?expand=0&rev=170
2024-08-16 18:16:54 +00:00

25 lines
1.0 KiB
Diff

Index: php-8.2.7/ext/date/config0.m4
===================================================================
--- php-8.2.7.orig/ext/date/config0.m4
+++ php-8.2.7/ext/date/config0.m4
@@ -23,6 +23,8 @@ timelib_sources="lib/astro.c lib/dow.c l
PHP_NEW_EXTENSION(date, php_date.c $timelib_sources, no,, $PHP_DATE_CFLAGS)
+PHP_ADD_MAKEFILE_FRAGMENT()
+
PHP_ADD_BUILD_DIR([$ext_builddir/lib], 1)
PHP_ADD_INCLUDE([$ext_builddir/lib])
PHP_ADD_INCLUDE([$ext_srcdir/lib])
Index: php-8.2.7/ext/date/Makefile.frag
===================================================================
--- /dev/null
+++ php-8.2.7/ext/date/Makefile.frag
@@ -0,0 +1,6 @@
+$(srcdir)/lib/parse_date.c: $(srcdir)/lib/parse_date.re
+ @(cd $(top_srcdir); $(RE2C) $(RE2C_FLAGS) -b --no-generation-date -o ext/date/lib/parse_date.c ext/date/lib/parse_date.re)
+
+$(srcdir)/lib/parse_iso_intervals.c: $(srcdir)/lib/parse_iso_intervals.re
+ @(cd $(top_srcdir); $(RE2C) $(RE2C_FLAGS) -b --no-generation-date -o ext/date/lib/parse_iso_intervals.c ext/date/lib/parse_iso_intervals.re)
+