diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-08-05 16:47:31 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-08-05 16:47:31 +0200 |
commit | b2fc9e981903524fd3b02791128e11e2928b6a90 (patch) | |
tree | c4352bcc0dac979f736138afe713ccefdc53d548 /dev-python/hiredis/files | |
parent | dev-python/sqlalchemy: Remove old (diff) | |
download | gentoo-b2fc9e981903524fd3b02791128e11e2928b6a90.tar.gz gentoo-b2fc9e981903524fd3b02791128e11e2928b6a90.tar.bz2 gentoo-b2fc9e981903524fd3b02791128e11e2928b6a90.zip |
dev-python/hiredis: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/hiredis/files')
-rw-r--r-- | dev-python/hiredis/files/hiredis-1.0.1-api-0.14.patch | 32 | ||||
-rw-r--r-- | dev-python/hiredis/files/hiredis-1.0.1-system-libs.patch | 15 |
2 files changed, 0 insertions, 47 deletions
diff --git a/dev-python/hiredis/files/hiredis-1.0.1-api-0.14.patch b/dev-python/hiredis/files/hiredis-1.0.1-api-0.14.patch deleted file mode 100644 index 16c420228286..000000000000 --- a/dev-python/hiredis/files/hiredis-1.0.1-api-0.14.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -Nur hiredis-1.0.1.orig/src/reader.c hiredis-1.0.1/src/reader.c ---- hiredis-1.0.1.orig/src/reader.c 2019-11-13 11:38:29.000000000 +0100 -+++ hiredis-1.0.1/src/reader.c 2020-04-01 13:15:19.852085240 +0200 -@@ -167,7 +167,7 @@ - static void Reader_dealloc(hiredis_ReaderObject *self) { - // we don't need to free self->encoding as the buffer is managed by Python - // https://docs.python.org/3/c-api/arg.html#strings-and-buffers -- redisReplyReaderFree(self->reader); -+ redisReaderFree(self->reader); - Py_XDECREF(self->protocolErrorClass); - Py_XDECREF(self->replyErrorClass); - -@@ -271,7 +271,7 @@ - goto error; - } - -- redisReplyReaderFeed(self->reader, (char *)buf.buf + off, len); -+ redisReaderFeed(self->reader, (char *)buf.buf + off, len); - PyBuffer_Release(&buf); - Py_RETURN_NONE; - -@@ -290,8 +290,8 @@ - return NULL; - } - -- if (redisReplyReaderGetReply(self->reader, (void**)&obj) == REDIS_ERR) { -- errstr = redisReplyReaderGetError(self->reader); -+ if (redisReaderGetReply(self->reader, (void**)&obj) == REDIS_ERR) { -+ errstr = redisReaderGetError(self->reader); - /* protocolErrorClass might be a callable. call it, then use it's type */ - err = createError(self->protocolErrorClass, errstr, strlen(errstr)); - if (err != NULL) { diff --git a/dev-python/hiredis/files/hiredis-1.0.1-system-libs.patch b/dev-python/hiredis/files/hiredis-1.0.1-system-libs.patch deleted file mode 100644 index c11d0baa5639..000000000000 --- a/dev-python/hiredis/files/hiredis-1.0.1-system-libs.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Nur hiredis-1.0.1.orig/setup.py hiredis-1.0.1/setup.py ---- hiredis-1.0.1.orig/setup.py 2019-11-13 11:38:29.000000000 +0100 -+++ hiredis-1.0.1/setup.py 2020-03-19 08:18:53.414214592 +0100 -@@ -11,9 +11,8 @@ - return module.__version__ - - ext = Extension("hiredis.hiredis", -- sources=sorted(glob.glob("src/*.c") + -- ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]), -- include_dirs=["vendor"]) -+ sources=sorted(glob.glob("src/*.c")), -+ libraries=["hiredis"]) - - setup( - name="hiredis", |