From aad2afe051973fa7fd6f4f9b83703c09445ff17c Mon Sep 17 00:00:00 2001 From: Leo Date: Mon, 16 Mar 2020 02:48:47 -0300 Subject: community/py3-*: move from main/ and modernize --- community/py3-hiredis/system-hiredis.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 community/py3-hiredis/system-hiredis.patch (limited to 'community/py3-hiredis/system-hiredis.patch') diff --git a/community/py3-hiredis/system-hiredis.patch b/community/py3-hiredis/system-hiredis.patch new file mode 100644 index 0000000000..e5aaa28bc4 --- /dev/null +++ b/community/py3-hiredis/system-hiredis.patch @@ -0,0 +1,14 @@ +--- hiredis-1.0.0/setup.py ++++ hiredis-1.0.0_p/setup.py +@@ -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", -- cgit v1.2.3