diff options
author | Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> | 2024-11-30 10:30:11 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-11-30 09:40:21 +0000 |
commit | 10f656e08097ca70ad88f275817b18cbc05e662f (patch) | |
tree | 59910154009bfa7294968e2a19a0eda1f2b3dcd4 /dev-libs/capstone/files | |
parent | dev-build/remake: drop 4.3.1.1.5, 4.3.1.1.6 (diff) | |
download | gentoo-10f656e08097ca70ad88f275817b18cbc05e662f.tar.gz gentoo-10f656e08097ca70ad88f275817b18cbc05e662f.tar.bz2 gentoo-10f656e08097ca70ad88f275817b18cbc05e662f.zip |
dev-libs/capstone: add missing patch
Closes: https://bugs.gentoo.org/945403
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/39530
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/capstone/files')
-rw-r--r-- | dev-libs/capstone/files/capstone-5.0.2-tests.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-libs/capstone/files/capstone-5.0.2-tests.patch b/dev-libs/capstone/files/capstone-5.0.2-tests.patch new file mode 100644 index 000000000000..37ec431fb70b --- /dev/null +++ b/dev-libs/capstone/files/capstone-5.0.2-tests.patch @@ -0,0 +1,17 @@ +From b77714b446e93a0ab997b125ef1fb3ad9bc4bb9b Mon Sep 17 00:00:00 2001 +From: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> +Date: Wed, 14 Aug 2024 23:28:45 +0200 +Subject: [PATCH] Fix 'make check' for python tests +Upstream: https://github.com/capstone-engine/capstone/pull/2439 + +--- a/bindings/python/Makefile ++++ b/bindings/python/Makefile +@@ -41,7 +41,7 @@ TESTS += test_lite.py test_iter.py test_customized_mnem.py test_alpha.py + check: + @for t in $(TESTS); do \ + echo Check $$t ... ; \ +- ./$$t > /dev/null; \ ++ ./tests/$$t > /dev/null; \ + if [ $$? -eq 0 ]; then echo OK; else echo FAILED; exit 1; fi \ + done + |