[packages/php/PHP_5_5] more type fixes

atler atler at pld-linux.org
Thu Jan 30 03:08:22 CET 2025


commit 9e48b267a754876f6d241af165b18863cccf0b63
Author: Jan Palus <atler 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 d1a8415..d64b4d5 100644
--- a/php.spec
+++ b/php.spec
@@ -229,6 +229,7 @@ Patch71:	icu69.patch
 Patch72:	icu70.patch
 Patch73:	libxml2-2.12.patch
 Patch74:	readdir_r.patch
+Patch75:	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}
@@ -2113,6 +2114,7 @@ exit 1
 %patch -P72 -p1
 %patch -P73 -p1
 %patch -P74 -p1
+%patch -P75 -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/a6b87e4f9cd97cf0189586b11bcfb1797322a3c4



More information about the pld-cvs-commit mailing list