summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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