diff options
author | Ricardo Wurmus <[email protected]> | 2025-01-14 11:36:41 +0100 |
---|---|---|
committer | Ricardo Wurmus <[email protected]> | 2025-01-20 21:37:54 +0100 |
commit | eee88d70aadc187bd97239d6bf264d27d8f2c7ad (patch) | |
tree | 7ef7d8e575f25cc45e87bf4313ebbfbeb066d68b /gnu/packages/patches/python-hiredis-fix-header.patch | |
parent | 21d41c3130240700e680e17bf2a61f155b49fbb8 (diff) |
gnu: python-hiredis: Update to 3.1.0.
* gnu/packages/patches/python-hiredis-fix-header.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove patch.
* gnu/packages/databases.scm (python-hiredis): Update to 3.1.0.
[source]: Remove patch.
[arguments]: Remove.
Change-Id: I095c89329e4c42316398c7fccc86e1dee0affaea
Diffstat (limited to 'gnu/packages/patches/python-hiredis-fix-header.patch')
-rw-r--r-- | gnu/packages/patches/python-hiredis-fix-header.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/gnu/packages/patches/python-hiredis-fix-header.patch b/gnu/packages/patches/python-hiredis-fix-header.patch deleted file mode 100644 index 168b76920d..0000000000 --- a/gnu/packages/patches/python-hiredis-fix-header.patch +++ /dev/null @@ -1,49 +0,0 @@ -Upstream status: https://github.com/redis/hiredis-py/pull/159 - -From c2a20695aae53de7b5160e29675344df0b805fa6 Mon Sep 17 00:00:00 2001 -From: Maxim Cournoyer <[email protected]> -Date: Sat, 18 Mar 2023 15:18:08 -0400 -Subject: [PATCH] pack: Replace sdsalloc.h with alloc.h - -Fixes #158. - -* src/pack.c: Replace sdsalloc.h with alloc.h. -(pack_command): Replace s_malloc with hi_malloc. ---- - src/pack.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/pack.c b/src/pack.c -index 443e9d3..23e4004 100644 ---- a/src/pack.c -+++ b/src/pack.c -@@ -16,7 +16,7 @@ extern sds sdscpylen(sds s, const char *t, size_t len); - extern sds sdsnewlen(const void *init, size_t initlen); - #endif - --#include <hiredis/sdsalloc.h> -+#include <hiredis/alloc.h> - - PyObject * - pack_command(PyObject *cmd) -@@ -32,7 +32,7 @@ pack_command(PyObject *cmd) - } - - Py_ssize_t tokens_number = PyTuple_Size(cmd); -- sds *tokens = s_malloc(sizeof(sds) * tokens_number); -+ sds *tokens = hi_malloc(sizeof(sds) * tokens_number); - if (tokens == NULL) - { - return PyErr_NoMemory(); -@@ -118,4 +118,4 @@ cleanup: - sdsfreesplitres(tokens, tokens_number); - hi_free(lengths); - return result; --} -\ No newline at end of file -+} - -base-commit: 8adb1b3cb38b82cdc73fa2d72879712da1f74e70 --- -2.39.1 - |