This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository libfile-map-perl.
commit 6249080b4e49f97637271f8f210fb64db317704d Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Sat Jul 2 02:47:40 2016 +0200 Add patch to fix test failures on hurd-i386. --- debian/changelog | 1 + debian/patches/hurd.patch | 28 ++++++++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 30 insertions(+) diff --git a/debian/changelog b/debian/changelog index 8360772..0265f07 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ libfile-map-perl (0.64-2) UNRELEASED; urgency=medium * Team upload. * Add gbp.conf to use pristine-tar by default. + * Add patch to fix test failures on hurd-i386. -- Bas Couwenberg <sebas...@debian.org> Sat, 25 Jun 2016 00:16:21 +0200 diff --git a/debian/patches/hurd.patch b/debian/patches/hurd.patch new file mode 100644 index 0000000..0406e93 --- /dev/null +++ b/debian/patches/hurd.patch @@ -0,0 +1,28 @@ +Description: Fix test failures on hurd-i386. + Make madvise() no-op, not implemented on Hurd. + Skip threads tests, thread implementation problematic. +Author: Bas Couwenberg <sebas...@debian.org> +Forwarded: https://github.com/Leont/file-map/pull/6 + +--- a/lib/File/Map.xs ++++ b/lib/File/Map.xs +@@ -135,7 +135,7 @@ static size_t page_size() { + } + #endif + +-#ifdef VMS ++#if defined(VMS) || defined(__GNU__) + #define madvise(address, length, advice) 0 + #endif + +--- a/t/20-threads.t ++++ b/t/20-threads.t +@@ -5,7 +5,7 @@ use warnings; + use Config; + BEGIN { + # Yes, this is really necessary +- if ($Config{useithreads}) { ++ if ($Config{useithreads} && $^O ne 'gnu') { + require threads; + threads->import(); + require Test::More; diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..27e280c --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +hurd.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfile-map-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits