summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/hiredis/files/hiredis-1.0.1-system-libs.patch')
-rw-r--r--dev-python/hiredis/files/hiredis-1.0.1-system-libs.patch15
1 files changed, 15 insertions, 0 deletions
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
new file mode 100644
index 00000000000..c11d0baa563
--- /dev/null
+++ b/dev-python/hiredis/files/hiredis-1.0.1-system-libs.patch
@@ -0,0 +1,15 @@
+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",