FreeBSD Bugzilla – Attachment 216142 Details for
Bug 247717
databases/pecl-redis: Fails to run: error: Undefined symbol "php_hash_bin2hex"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pecl-redis fix runtime
pecl-redis.diff (text/plain), 998 bytes, created by
Juraj Lutter
on 2020-07-02 15:00:09 UTC
(
hide
)
Description:
pecl-redis fix runtime
Filename:
MIME Type:
Creator:
Juraj Lutter
Created:
2020-07-02 15:00:09 UTC
Size:
998 bytes
patch
obsolete
>diff --git a/databases/pecl-redis/Makefile b/databases/pecl-redis/Makefile >index 744f57a173d2..11fb2c2a455e 100644 >--- a/databases/pecl-redis/Makefile >+++ b/databases/pecl-redis/Makefile >@@ -2,6 +2,7 @@ > > PORTNAME= redis > PORTVERSION= 5.2.2 >+PKGREVISION= 1 > CATEGORIES= databases > > MAINTAINER= daniel@blodan.se >diff --git a/databases/pecl-redis/files/patch-redis.c b/databases/pecl-redis/files/patch-redis.c >new file mode 100644 >index 000000000000..e031f61f1619 >--- /dev/null >+++ b/databases/pecl-redis/files/patch-redis.c >@@ -0,0 +1,17 @@ >+fix #1796 missing include #1800 >+ >+Include ext/hash/php_hash.h that would otherwise have been >+not included, causing runtime error: >+ >+Undefined symbol "php_hash_bin2hex" >+ >+--- redis.c.orig 2020-07-02 14:54:24 UTC >++++ redis.c >+@@ -29,6 +29,7 @@ >+ #include "redis_sentinel.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>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 247717
:
216142
|
216143
|
216158