summaryrefslogtreecommitdiff
path: root/databases/pecl-redis/files/patch-redis.c
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2020-07-06 06:37:22 +0000
committerThomas Zander <riggs@FreeBSD.org>2020-07-06 06:37:22 +0000
commit5cb60aefbb661fdc0bc6c4c528cf18a5d1054083 (patch)
tree74072bbea950867ef82546bcf5066ac63f3801ac /databases/pecl-redis/files/patch-redis.c
parentUpdate to 357 (diff)
Fix runtime link error: Undefined symbol "php_hash_bin2hex" and segfault
PR: 247717 Submitted by: juraj@lutter.sk, daniel@blodan.se (maintainer) Reviewed by: daniel@blodan.se (maintainer) MFH: 2020Q3
Notes
Notes: svn path=/head/; revision=541314
Diffstat (limited to 'databases/pecl-redis/files/patch-redis.c')
-rw-r--r--databases/pecl-redis/files/patch-redis.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/pecl-redis/files/patch-redis.c b/databases/pecl-redis/files/patch-redis.c
new file mode 100644
index 000000000000..5765cabf50d7
--- /dev/null
+++ b/databases/pecl-redis/files/patch-redis.c
@@ -0,0 +1,15 @@
+Patch can be removed in next release
+Upstream fix:
+https://github.com/phpredis/phpredis/pull/1800
+
+--- redis.c.orig 2020-07-03 06:16:52 UTC
++++ redis.c
+@@ -30,7 +30,7 @@
+ #include <standard/php_random.h>
+ #include <zend_exceptions.h>
+ #include <ext/standard/info.h>
+-
++#include <ext/hash/php_hash.h>
+
+ #ifdef PHP_SESSION
+ #include <ext/session/php_session.h>