summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2019-01-03 22:42:45 +0700
committerAndrey Grozin <grozin@gentoo.org>2019-01-03 22:43:57 +0700
commitf6fac3aeaad8c83b552f800ce75449962d31d524 (patch)
tree39e04852af98b4cd239fa3d86ab2a6e552de3f73 /dev-lisp
parentsys-cluster/kube-proxy: Version bump to 1.12.4 (diff)
downloadgentoo-f6fac3aeaad8c83b552f800ce75449962d31d524.tar.gz
gentoo-f6fac3aeaad8c83b552f800ce75449962d31d524.tar.bz2
gentoo-f6fac3aeaad8c83b552f800ce75449962d31d524.zip
dev-lisp/sbcl: fix the capstone test
Suggested-by: Helmut Jarausch <jarausch@igpm.rwth-aachen.de> Closes: https://bugs.gentoo.org/673522 Signed-off-by: Andrey Grozin <grozin@gentoo.org> Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/sbcl/files/sbcl-1.4.15-capstone.patch15
-rw-r--r--dev-lisp/sbcl/sbcl-1.4.15.ebuild1
2 files changed, 16 insertions, 0 deletions
diff --git a/dev-lisp/sbcl/files/sbcl-1.4.15-capstone.patch b/dev-lisp/sbcl/files/sbcl-1.4.15-capstone.patch
new file mode 100644
index 000000000000..057b1c5a3b8d
--- /dev/null
+++ b/dev-lisp/sbcl/files/sbcl-1.4.15-capstone.patch
@@ -0,0 +1,15 @@
+--- a/contrib/sb-capstone/tests.lisp.ORIG 2018-12-04 17:44:02.000000000 +0100
++++ b/contrib/sb-capstone/tests.lisp 2019-01-03 10:22:33.649177090 +0100
+@@ -65,10 +65,10 @@
+ t)
+
+
+-(deftest ppc-little-endian (capstone-check '(#x03 #x10 #x40 #x3c #x00 #x81 #x42 #x38)
++(deftest ppc-little-endian (capstone-check '(#x03 #x10 #x40 #x3c #x00 #x71 #x42 #x38)
+ '(:ppc64 :little-endian)
+ '("LIS R2, 0X1003"
+- "ADDI R2, R2, -0X7F00"))
++ "ADDI R2, R2, 0X7100"))
+ t)
+
+ (deftest ppc-big-endian (capstone-check '(#x7c #x08 #x02 #xa6)
diff --git a/dev-lisp/sbcl/sbcl-1.4.15.ebuild b/dev-lisp/sbcl/sbcl-1.4.15.ebuild
index 3ab2c80ba0c6..381f9f3a3350 100644
--- a/dev-lisp/sbcl/sbcl-1.4.15.ebuild
+++ b/dev-lisp/sbcl/sbcl-1.4.15.ebuild
@@ -104,6 +104,7 @@ src_prepare() {
eapply "${FILESDIR}"/${PN}-1.2.11-solaris.patch
eapply "${FILESDIR}"/${PN}-1.4.0-verbose-build.patch
+ eapply "${FILESDIR}"/${P}-capstone.patch
eapply_user