From f6fac3aeaad8c83b552f800ce75449962d31d524 Mon Sep 17 00:00:00 2001 From: Andrey Grozin Date: Thu, 3 Jan 2019 22:42:45 +0700 Subject: dev-lisp/sbcl: fix the capstone test Suggested-by: Helmut Jarausch Closes: https://bugs.gentoo.org/673522 Signed-off-by: Andrey Grozin Package-Manager: Portage-2.3.41, Repoman-2.3.9 --- dev-lisp/sbcl/files/sbcl-1.4.15-capstone.patch | 15 +++++++++++++++ dev-lisp/sbcl/sbcl-1.4.15.ebuild | 1 + 2 files changed, 16 insertions(+) create mode 100644 dev-lisp/sbcl/files/sbcl-1.4.15-capstone.patch (limited to 'dev-lisp/sbcl') 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 -- cgit v1.2.3-65-gdbad