diff options
author | Remi Collet <remi@remirepo.net> | 2025-03-17 07:06:45 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-03-17 07:06:45 +0100 |
commit | 301d31abb857af1ab81aaa417b1e2c4813270349 (patch) | |
tree | dd7df3b8d76f4447fa4195a9f4478c5fb580265f /11.patch | |
parent | b1182180e855bce69aa9b6588c394e51158bfb9e (diff) |
drop patch merged upstream
Diffstat (limited to '11.patch')
-rw-r--r-- | 11.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/11.patch b/11.patch deleted file mode 100644 index 7895453..0000000 --- a/11.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 4e7cffdb4dbc080d12c5ba3d8fcb40e79f324a74 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Mon, 3 Mar 2025 07:36:39 +0100 -Subject: [PATCH] fix PHP 7 compatibility - ---- - negotiate_auth.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/negotiate_auth.c b/negotiate_auth.c -index 4f20770..ce88e26 100644 ---- a/negotiate_auth.c -+++ b/negotiate_auth.c -@@ -240,7 +240,12 @@ PHP_METHOD(KRB5NegotiateAuth, __construct) - #endif - - if (zchannel != NULL) { -+#if PHP_VERSION_ID < 80000 -+ Z_ADDREF_P(zchannel); -+ ZVAL_OBJ(&object->chan_bindings, Z_OBJ_P(zchannel)); -+#else - ZVAL_OBJ_COPY(&object->chan_bindings, Z_OBJ_P(zchannel)); -+#endif - } - - |