From: Stephane Glondu Date: Tue, 27 Mar 2012 09:44:29 +0000 (+0200) Subject: Fix asmcomp tests on Hurd (Closes: #661716) X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~259 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=570a24096d20fd29cc4caa6cb1d6aa8f8ab1f99b;p=ocaml.git Fix asmcomp tests on Hurd (Closes: #661716) --- diff --git a/debian/patches/0012-Fix-asmcomp-tests-on-Hurd.patch b/debian/patches/0012-Fix-asmcomp-tests-on-Hurd.patch new file mode 100644 index 00000000..1a9b6235 --- /dev/null +++ b/debian/patches/0012-Fix-asmcomp-tests-on-Hurd.patch @@ -0,0 +1,25 @@ +From: Pino Toscano +Date: Tue, 27 Mar 2012 11:41:02 +0200 +Subject: Fix asmcomp tests on Hurd + +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661716 +Author: Pino Toscano +Signed-off-by: Stephane Glondu +--- + testsuite/tests/asmcomp/i386.S | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/testsuite/tests/asmcomp/i386.S b/testsuite/tests/asmcomp/i386.S +index fc75b1f..cb78db8 100644 +--- a/testsuite/tests/asmcomp/i386.S ++++ b/testsuite/tests/asmcomp/i386.S +@@ -15,7 +15,7 @@ + /* Linux with ELF binaries does not prefix identifiers with _. + Linux with a.out binaries, FreeBSD, and NextStep do. */ + +-#ifdef SYS_linux_elf ++#if defined(SYS_linux_elf) || defined(SYS_gnu) + #define G(x) x + #define FUNCTION_ALIGN 16 + #else +-- diff --git a/debian/patches/series b/debian/patches/series index 43d48de2..7d15357f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -9,3 +9,4 @@ 0009-Avoid-multiple-declarations-in-generated-.c-files-in.patch 0010-Properly-initialize-executable-name-in-caml_startup_.patch 0011-Embed-bytecode-in-C-object-when-using-custom.patch +0012-Fix-asmcomp-tests-on-Hurd.patch