1 |
commit: f6fac3aeaad8c83b552f800ce75449962d31d524 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 3 15:42:45 2019 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 3 15:43:57 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6fac3ae |
7 |
|
8 |
dev-lisp/sbcl: fix the capstone test |
9 |
|
10 |
Suggested-by: Helmut Jarausch <jarausch <AT> igpm.rwth-aachen.de> |
11 |
Closes: https://bugs.gentoo.org/673522 |
12 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
13 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
14 |
|
15 |
dev-lisp/sbcl/files/sbcl-1.4.15-capstone.patch | 15 +++++++++++++++ |
16 |
dev-lisp/sbcl/sbcl-1.4.15.ebuild | 1 + |
17 |
2 files changed, 16 insertions(+) |
18 |
|
19 |
diff --git a/dev-lisp/sbcl/files/sbcl-1.4.15-capstone.patch b/dev-lisp/sbcl/files/sbcl-1.4.15-capstone.patch |
20 |
new file mode 100644 |
21 |
index 00000000000..057b1c5a3b8 |
22 |
--- /dev/null |
23 |
+++ b/dev-lisp/sbcl/files/sbcl-1.4.15-capstone.patch |
24 |
@@ -0,0 +1,15 @@ |
25 |
+--- a/contrib/sb-capstone/tests.lisp.ORIG 2018-12-04 17:44:02.000000000 +0100 |
26 |
++++ b/contrib/sb-capstone/tests.lisp 2019-01-03 10:22:33.649177090 +0100 |
27 |
+@@ -65,10 +65,10 @@ |
28 |
+ t) |
29 |
+ |
30 |
+ |
31 |
+-(deftest ppc-little-endian (capstone-check '(#x03 #x10 #x40 #x3c #x00 #x81 #x42 #x38) |
32 |
++(deftest ppc-little-endian (capstone-check '(#x03 #x10 #x40 #x3c #x00 #x71 #x42 #x38) |
33 |
+ '(:ppc64 :little-endian) |
34 |
+ '("LIS R2, 0X1003" |
35 |
+- "ADDI R2, R2, -0X7F00")) |
36 |
++ "ADDI R2, R2, 0X7100")) |
37 |
+ t) |
38 |
+ |
39 |
+ (deftest ppc-big-endian (capstone-check '(#x7c #x08 #x02 #xa6) |
40 |
|
41 |
diff --git a/dev-lisp/sbcl/sbcl-1.4.15.ebuild b/dev-lisp/sbcl/sbcl-1.4.15.ebuild |
42 |
index 3ab2c80ba0c..381f9f3a335 100644 |
43 |
--- a/dev-lisp/sbcl/sbcl-1.4.15.ebuild |
44 |
+++ b/dev-lisp/sbcl/sbcl-1.4.15.ebuild |
45 |
@@ -104,6 +104,7 @@ src_prepare() { |
46 |
|
47 |
eapply "${FILESDIR}"/${PN}-1.2.11-solaris.patch |
48 |
eapply "${FILESDIR}"/${PN}-1.4.0-verbose-build.patch |
49 |
+ eapply "${FILESDIR}"/${P}-capstone.patch |
50 |
|
51 |
eapply_user |