commit df58026267eb0caf136fa4f9680eaaa7fc006a60
Author: Jan Palus <at...@pld-linux.org>
Date:   Thu Jan 23 12:57:59 2025 +0100

    more type fixes

 php.spec    |  2 ++
 types.patch | 11 +++++++++++
 2 files changed, 13 insertions(+)
---
diff --git a/php.spec b/php.spec
index 8d2f333..ea16e07 100644
--- a/php.spec
+++ b/php.spec
@@ -249,6 +249,7 @@ Patch75:    icu69.patch
 Patch76:       icu70.patch
 Patch77:       libxml2-2.12.patch
 Patch78:       readdir_r.patch
+Patch79:       types.patch
 URL:           https://www.php.net/
 %{?with_interbase:%{!?with_interbase_inst:BuildRequires:       Firebird-devel 
>= 1.0.2.908-2}}
 %{?with_pspell:BuildRequires:  aspell-devel >= 2:0.50.0}
@@ -2186,6 +2187,7 @@ exit 1
 %patch -P76 -p1
 %patch -P77 -p1
 %patch -P78 -p1
+%patch -P79 -p1
 
 sed -E -i -e '1s,#!\s*/usr/bin/env\s+(.*),#!%{__bindir}\1,' \
       run-tests.php
diff --git a/types.patch b/types.patch
new file mode 100644
index 0000000..793efa5
--- /dev/null
+++ b/types.patch
@@ -0,0 +1,11 @@
+--- php-7.3.33/ext/interbase/ibase_events.c.orig       2021-11-16 
12:18:38.000000000 +0100
++++ php-7.3.33/ext/interbase/ibase_events.c    2025-01-23 12:24:50.473401624 
+0100
+@@ -105,7 +105,7 @@
+        * so we can work around it.
+        */
+ 
+-      *l = (unsigned short) isc_event_block(event_buf, result_buf, count, 
events[0],
++      *l = (unsigned short) isc_event_block((ISC_UCHAR**)event_buf, 
(ISC_UCHAR**)result_buf, count, events[0],
+               events[1], events[2], events[3], events[4], events[5], 
events[6], events[7],
+               events[8], events[9], events[10], events[11], events[12], 
events[13], events[14]);
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/63190b085150bb79f9e681060b20f959d11f556d

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to