summaryrefslogtreecommitdiffstats
path: root/132.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-05-23 15:37:00 +0200
committerRemi Collet <remi@remirepo.net>2019-05-23 15:37:00 +0200
commita18f81914f9614fc8ecb9b709c15b90b9b6f6714 (patch)
treee742baa4a2b09967d811b0a7926dc39cd9f89193 /132.patch
parent60716a4a34de30e837e0843a185518a5a32fb52e (diff)
add patch for PHP 7.4 from https://github.com/datastax/php-driver/pull/132
Diffstat (limited to '132.patch')
-rw-r--r--132.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/132.patch b/132.patch
new file mode 100644
index 0000000..ebdd961
--- /dev/null
+++ b/132.patch
@@ -0,0 +1,28 @@
+From 735c5794a003124f5924753472b190a2cb332824 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Thu, 23 May 2019 15:29:45 +0200
+Subject: [PATCH] SPL is always there
+
+---
+ ext/php_driver.h | 8 ++------
+ 1 file changed, 2 insertions(+), 6 deletions(-)
+
+diff --git a/ext/php_driver.h b/ext/php_driver.h
+index 10680d22..bc42b6fc 100644
+--- a/ext/php_driver.h
++++ b/ext/php_driver.h
+@@ -46,12 +46,8 @@ typedef int pid_t;
+ # error PHP 5.6.0 or later is required in order to build the driver
+ #endif
+
+-#if HAVE_SPL
+-# include <ext/spl/spl_iterators.h>
+-# include <ext/spl/spl_exceptions.h>
+-#else
+-# error SPL must be enabled in order to build the driver
+-#endif
++#include <ext/spl/spl_iterators.h>
++#include <ext/spl/spl_exceptions.h>
+
+ #include "version.h"
+