diff options
author | Remi Collet <remi@remirepo.net> | 2024-02-14 15:23:25 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-02-14 15:23:25 +0100 |
commit | 17420bc31fbfca54f7234082b8c59a05db1e4384 (patch) | |
tree | 99ce8b6eac48622b0ce2b031c1072a6dc6fe1948 /php-7.4.33-gcc14.patch | |
parent | 9bcde6ae2d061b62df32ab8a763089b528eb633d (diff) |
add build patch for GCC 14
use oracle client library version 21.13 on x86_64
Diffstat (limited to 'php-7.4.33-gcc14.patch')
-rw-r--r-- | php-7.4.33-gcc14.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/php-7.4.33-gcc14.patch b/php-7.4.33-gcc14.patch new file mode 100644 index 0000000..7af776f --- /dev/null +++ b/php-7.4.33-gcc14.patch @@ -0,0 +1,32 @@ +diff -up php-7.4.33/ext/pdo_oci/oci_statement.c.gcc14 php-7.4.33/ext/pdo_oci/oci_statement.c +--- php-7.4.33/ext/pdo_oci/oci_statement.c.gcc14 2022-10-31 11:36:05.000000000 +0100 ++++ php-7.4.33/ext/pdo_oci/oci_statement.c 2024-02-14 15:05:34.224568567 +0100 +@@ -654,7 +654,7 @@ static ssize_t oci_blob_write(php_stream + return amt; + } + +-static size_t oci_blob_read(php_stream *stream, char *buf, size_t count) ++static ssize_t oci_blob_read(php_stream *stream, char *buf, size_t count) + { + struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract; + ub4 amt; +@@ -666,7 +666,7 @@ static size_t oci_blob_read(php_stream * + NULL, NULL, 0, SQLCS_IMPLICIT); + + if (r != OCI_SUCCESS && r != OCI_NEED_DATA) { +- return (size_t)-1; ++ return -1; + } + + self->offset += amt; +diff -up php-7.4.33/sapi/litespeed/lsapi_main.c.gcc14 php-7.4.33/sapi/litespeed/lsapi_main.c +--- php-7.4.33/sapi/litespeed/lsapi_main.c.gcc14 2024-02-14 15:09:59.523706463 +0100 ++++ php-7.4.33/sapi/litespeed/lsapi_main.c 2024-02-14 15:10:13.979258854 +0100 +@@ -25,6 +25,7 @@ + #include "zend.h" + #include "ext/standard/basic_functions.h" + #include "ext/standard/info.h" ++#include "ext/standard/head.h" + #include "lsapilib.h" + + #include <stdio.h> |