summaryrefslogtreecommitdiffstats
path: root/35.patch
diff options
context:
space:
mode:
Diffstat (limited to '35.patch')
-rw-r--r--35.patch30
1 files changed, 28 insertions, 2 deletions
diff --git a/35.patch b/35.patch
index 0385176..fe1116f 100644
--- a/35.patch
+++ b/35.patch
@@ -1,7 +1,7 @@
From 633d0a55cd23d17c6a2e964d7671348b682af761 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Fri, 4 Jul 2025 14:45:20 +0200
-Subject: [PATCH 1/2] arg_separators.input is an zend_string in 8.5
+Subject: [PATCH 1/3] arg_separators.input is an zend_string in 8.5
---
oauth.c | 4 ++++
@@ -27,7 +27,7 @@ index 1493eb7..a7fd6cc 100644
From aab3ebf39558954b5e84f3fc7f3cc5fb19e963a2 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Thu, 17 Jul 2025 11:30:54 +0200
-Subject: [PATCH 2/2] use zend_ce_exception instead of
+Subject: [PATCH 2/3] use zend_ce_exception instead of
zend_exception_get_default() for 8.5
---
@@ -70,3 +70,29 @@ index f1f8e2a..02025fc 100644
if(zend_parse_parameters(ZEND_NUM_ARGS(), "O|b", &exception, ex_ce, &send_headers)==FAILURE) {
return;
+
+From 7e79b4146d55891d1fa40dcc3c4893e4f72b3c1b Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Wed, 30 Jul 2025 13:14:45 +0200
+Subject: [PATCH 3/3] use Zend/zend_smart_string.h
+
+---
+ php_oauth.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/php_oauth.h b/php_oauth.h
+index 1b7c987..ccea410 100644
+--- a/php_oauth.h
++++ b/php_oauth.h
+@@ -35,7 +35,11 @@
+ #else
+ #include "ext/random/php_random.h"
+ #endif
++#if PHP_VERSION_ID < 70200
+ #include "ext/standard/php_smart_string.h"
++#else
++#include "Zend/zend_smart_string.h"
++#endif
+ #include "ext/standard/info.h"
+ #include "ext/standard/php_string.h"
+ #if PHP_VERSION_ID > 80200