From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../perl-5.14.3/debian/m68k_thread_stress.diff | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 meta/recipes-devtools/perl/perl-5.14.3/debian/m68k_thread_stress.diff (limited to 'meta/recipes-devtools/perl/perl-5.14.3/debian/m68k_thread_stress.diff') diff --git a/meta/recipes-devtools/perl/perl-5.14.3/debian/m68k_thread_stress.diff b/meta/recipes-devtools/perl/perl-5.14.3/debian/m68k_thread_stress.diff new file mode 100644 index 0000000000..1c3b6b55f1 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.3/debian/m68k_thread_stress.diff @@ -0,0 +1,47 @@ +Upstream-Status:Inappropriate [debian patches] +From 55a718425dc4612ac01850ef786f75f072b20b9e Mon Sep 17 00:00:00 2001 +From: Niko Tyni +Date: Mon, 8 Sep 2008 20:48:14 +0300 +Subject: Disable some threads tests on m68k for now due to missing TLS. + +Bug-Debian: http://bugs.debian.org/495826 +Bug-Debian: http://bugs.debian.org/517938 + +Patch-Name: debian/m68k_thread_stress.diff +--- + dist/threads-shared/t/stress.t | 4 ++++ + dist/threads-shared/t/waithires.t | 6 ++++++ + 2 files changed, 10 insertions(+), 0 deletions(-) + +diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t +index 652a3e6..2f1b576 100644 +--- a/dist/threads-shared/t/stress.t ++++ b/dist/threads-shared/t/stress.t +@@ -11,6 +11,10 @@ BEGIN { + print("1..0 # SKIP Broken under HP-UX 10.20\n"); + exit(0); + } ++ if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) { ++ print("1..0 # Skip: no TLS on m68k yet \n"); ++ exit(0); ++ } + } + + use ExtUtils::testlib; +diff --git a/dist/threads-shared/t/waithires.t b/dist/threads-shared/t/waithires.t +index 3c3e852..349c5b4 100644 +--- a/dist/threads-shared/t/waithires.t ++++ b/dist/threads-shared/t/waithires.t +@@ -16,6 +16,12 @@ BEGIN { + if (! eval 'use Time::HiRes "time"; 1') { + Test::skip_all('Time::HiRes not available'); + } ++ ++ if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) { ++ print("1..0 # Skip: no TLS on m68k yet \n"); ++ exit(0); ++ } ++ + } + + use ExtUtils::testlib; -- cgit v1.2.3-54-g00ecf