diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2020-05-19 21:20:08 +0200 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2020-06-02 00:27:59 -0400 |
commit | 2faeb749e92da02b2bb0d93b1ab0ea051863517b (patch) | |
tree | f7be9c7d74ac3e40af6b2600801b81c2c6043ceb /dev-python/hiredis | |
parent | dev-python/google-apitools: remove unused patches (diff) | |
download | gentoo-2faeb749e92da02b2bb0d93b1ab0ea051863517b.tar.gz gentoo-2faeb749e92da02b2bb0d93b1ab0ea051863517b.tar.bz2 gentoo-2faeb749e92da02b2bb0d93b1ab0ea051863517b.zip |
dev-python/hiredis: remove unused patches
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'dev-python/hiredis')
-rw-r--r-- | dev-python/hiredis/files/hiredis-0.2.0-api-0.14.patch | 32 | ||||
-rw-r--r-- | dev-python/hiredis/files/hiredis-0.2.0-r1-system-libs.patch | 26 |
2 files changed, 0 insertions, 58 deletions
diff --git a/dev-python/hiredis/files/hiredis-0.2.0-api-0.14.patch b/dev-python/hiredis/files/hiredis-0.2.0-api-0.14.patch deleted file mode 100644 index c957ad7aa29d..000000000000 --- a/dev-python/hiredis/files/hiredis-0.2.0-api-0.14.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -Nur hiredis-0.2.0.orig/src/reader.c hiredis-0.2.0/src/reader.c ---- hiredis-0.2.0.orig/src/reader.c 2015-04-02 23:49:10.000000000 +0200 -+++ hiredis-0.2.0/src/reader.c 2020-04-01 13:26:50.504058251 +0200 -@@ -157,7 +157,7 @@ - }; - - static void Reader_dealloc(hiredis_ReaderObject *self) { -- redisReplyReaderFree(self->reader); -+ redisReaderFree(self->reader); - if (self->encoding) - free(self->encoding); - Py_XDECREF(self->protocolErrorClass); -@@ -267,7 +267,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; - -@@ -281,8 +281,8 @@ - PyObject *err; - char *errstr; - -- 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)); - obj = PyObject_Type(err); diff --git a/dev-python/hiredis/files/hiredis-0.2.0-r1-system-libs.patch b/dev-python/hiredis/files/hiredis-0.2.0-r1-system-libs.patch deleted file mode 100644 index 19d4bd8598ff..000000000000 --- a/dev-python/hiredis/files/hiredis-0.2.0-r1-system-libs.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -ur hiredis-0.2.0.orig/setup.py hiredis-0.2.0/setup.py ---- hiredis-0.2.0.orig/setup.py 2015-04-03 16:08:45.000000000 +0200 -+++ hiredis-0.2.0/setup.py 2018-04-22 16:57:15.966520939 +0200 -@@ -40,12 +40,11 @@ - # supported Python versions is worse... - # - # Also see: https://github.com/pietern/hiredis-py/issues/15 --lib = ("hiredis_for_hiredis_py", { -- "sources": ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]}) - - ext = Extension("hiredis.hiredis", - sources=glob.glob("src/*.c"), -- include_dirs=["vendor"]) -+ libraries=["hiredis"], -+) - - setup( - name="hiredis", -@@ -57,7 +56,6 @@ - keywords=["Redis"], - license="BSD", - packages=["hiredis"], -- libraries=[lib], - ext_modules=[ext], - - # Override "install_lib" command |