summaryrefslogtreecommitdiffstats
path: root/33.patch
diff options
context:
space:
mode:
Diffstat (limited to '33.patch')
-rw-r--r--33.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/33.patch b/33.patch
deleted file mode 100644
index 45a7ed4..0000000
--- a/33.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 151df28b1b6d545ad71846f11a3a3af65bb1f3be Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Wed, 21 Jul 2021 08:32:57 +0200
-Subject: [PATCH] fix for 8.1.0beta1
-
----
- couchbase.h | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/couchbase.h b/couchbase.h
-index bc93c10..9748205 100644
---- a/couchbase.h
-+++ b/couchbase.h
-@@ -243,11 +243,18 @@ void pcbc_exception_init(zval *return_value, long code, const char *message);
- #define PCBC_ALLOC_OBJECT_T(obj_t, class_type) \
- (obj_t *)ecalloc(1, sizeof(obj_t) + zend_object_properties_size(class_type))
-
-+#if PHP_VERSION_ID < 80100
- #define PCBC_CE_DISABLE_SERIALIZATION(ce) \
- do { \
- ce->serialize = zend_class_serialize_deny; \
- ce->unserialize = zend_class_unserialize_deny; \
- } while (0);
-+#else
-+#define PCBC_CE_DISABLE_SERIALIZATION(ce) \
-+ do { \
-+ ce->ce_flags |= ZEND_ACC_NOT_SERIALIZABLE; \
-+ } while (0);
-+#endif
-
- #define PCBC_STRLEN_P(__pcbc_zval) Z_STRLEN((__pcbc_zval))
- #define PCBC_STRVAL_P(__pcbc_zval) Z_STRVAL((__pcbc_zval))