update to pecl-redis-5.0.0
This commit is contained in:
parent
ff630e114f
commit
55fa094727
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2019/03/14 15:57:51 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2019/07/03 14:38:55 sthen Exp $
|
||||
|
||||
COMMENT= PHP interface to redis
|
||||
|
||||
DISTNAME= redis-4.3.0
|
||||
DISTNAME= redis-5.0.0
|
||||
|
||||
CATEGORIES= databases
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (redis-4.3.0.tgz) = wPBM7DSZYKhCtgkg+4pDNlbi5JTq7W5mM5fWcQKlG6I=
|
||||
SIZE (redis-4.3.0.tgz) = 241883
|
||||
SHA256 (redis-5.0.0.tgz) = R/RbbQu+6Nj+9jYPVxshb2V9FFZdXIU28y2zAaw72AQ=
|
||||
SIZE (redis-5.0.0.tgz) = 243480
|
||||
|
14
databases/pecl-redis/patches/patch-library_c
Normal file
14
databases/pecl-redis/patches/patch-library_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-library_c,v 1.1 2019/07/03 14:38:55 sthen Exp $
|
||||
|
||||
Index: library.c
|
||||
--- library.c.orig
|
||||
+++ library.c
|
||||
@@ -1842,7 +1842,7 @@ PHP_REDIS_API int redis_sock_connect(RedisSock *redis_
|
||||
}
|
||||
|
||||
gettimeofday(&tv, NULL);
|
||||
- persistent_id = strpprintf(0, "phpredis_%ld%ld", tv.tv_sec, tv.tv_usec);
|
||||
+ persistent_id = strpprintf(0, "phpredis_%lld%ld", (long long)tv.tv_sec, tv.tv_usec);
|
||||
} else {
|
||||
if (redis_sock->persistent_id) {
|
||||
persistent_id = strpprintf(0, "phpredis:%s:%s", host, ZSTR_VAL(redis_sock->persistent_id));
|
Loading…
x
Reference in New Issue
Block a user