summaryrefslogtreecommitdiffstats
path: root/0001-missing-header.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-06-06 10:44:03 +0200
committerRemi Collet <remi@php.net>2024-06-06 10:44:03 +0200
commit3e818862cb1120788bc66fa85ba00a3588878a23 (patch)
tree12eb606caa5e1e888bc7599610395f18620a1e54 /0001-missing-header.patch
parent3bc96772fc3ee55730b11773be306d0413d524d5 (diff)
update to 5.1.3HEADmaster
fix build warnings (errors with GCC 14) using patch from https://github.com/swoole/swoole-src/pull/5363
Diffstat (limited to '0001-missing-header.patch')
-rw-r--r--0001-missing-header.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/0001-missing-header.patch b/0001-missing-header.patch
new file mode 100644
index 0000000..58784aa
--- /dev/null
+++ b/0001-missing-header.patch
@@ -0,0 +1,24 @@
+From 10feb6a1ca1c396d323f4bf92acd67feae758a62 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Thu, 6 Jun 2024 10:08:05 +0200
+Subject: [PATCH] missing header
+
+---
+ thirdparty/php83/pdo_odbc/odbc_driver.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/thirdparty/php83/pdo_odbc/odbc_driver.c b/thirdparty/php83/pdo_odbc/odbc_driver.c
+index c83da646c..a5e3a8b4f 100644
+--- a/thirdparty/php83/pdo_odbc/odbc_driver.c
++++ b/thirdparty/php83/pdo_odbc/odbc_driver.c
+@@ -25,6 +25,7 @@
+ #include "pdo/php_pdo.h"
+ #include "pdo/php_pdo_driver.h"
+ #include "zend_exceptions.h"
++#include <php_odbc_utils.h>
+
+ static void pdo_odbc_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) {
+ pdo_odbc_db_handle *H = (pdo_odbc_db_handle *) dbh->driver_data;
+--
+2.45.1
+