From 9add4eb879298e9bb39ee956b014dccec97a428c Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Thu, 20 Nov 2014 16:49:14 +0100 Subject: [PATCH] Fix asmcomp tests on sparc --- .../0009-Fix-asmcomp-tests-on-sparc.patch | 23 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 24 insertions(+) create mode 100644 debian/patches/0009-Fix-asmcomp-tests-on-sparc.patch diff --git a/debian/patches/0009-Fix-asmcomp-tests-on-sparc.patch b/debian/patches/0009-Fix-asmcomp-tests-on-sparc.patch new file mode 100644 index 00000000..cd8f48d2 --- /dev/null +++ b/debian/patches/0009-Fix-asmcomp-tests-on-sparc.patch @@ -0,0 +1,23 @@ +From: Stephane Glondu +Date: Thu, 20 Nov 2014 16:48:12 +0100 +Subject: Fix asmcomp tests on sparc + +Bug: http://caml.inria.fr/mantis/view.php?id=6665 +--- + testsuite/tests/asmcomp/sparc.S | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/testsuite/tests/asmcomp/sparc.S b/testsuite/tests/asmcomp/sparc.S +index ea02957..f2b9ce2 100644 +--- a/testsuite/tests/asmcomp/sparc.S ++++ b/testsuite/tests/asmcomp/sparc.S +@@ -10,7 +10,7 @@ + /* */ + /***********************************************************************/ + +-#if defined(SYS_solaris) || defined(SYS_elf) ++#if defined(SYS_solaris) || defined(SYS_linux) + #define Call_gen_code call_gen_code + #define Caml_c_call caml_c_call + #else +-- diff --git a/debian/patches/series b/debian/patches/series index 70f532ea..96ba831d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ 0006-Embed-bytecode-in-C-object-when-using-custom.patch 0007-Tune-resource-usage-of-some-tests.patch 0008-Native-backtraces-don-t-work-on-powerpc-and-sparc.patch +0009-Fix-asmcomp-tests-on-sparc.patch -- 2.30.2