aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl/debian/hurd-softupdates.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl/debian/hurd-softupdates.diff')
-rw-r--r--meta/recipes-devtools/perl/perl/debian/hurd-softupdates.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl/debian/hurd-softupdates.diff b/meta/recipes-devtools/perl/perl/debian/hurd-softupdates.diff
new file mode 100644
index 0000000000..0f96064dae
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl/debian/hurd-softupdates.diff
@@ -0,0 +1,26 @@
+From 9d0eb16b542f93325ecd0d69a11d50d202c9823e Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni@debian.org>
+Date: Thu, 28 Apr 2016 16:31:39 +0300
+Subject: Fix t/op/stat.t failures on hurd
+
+We already do this on GNU/kFreeBSD, and GNU/Hurd seems to need same
+treatment.
+
+Bug-Debian: https://bugs.debian.org/822735
+Patch-Name: debian/hurd-softupdates.diff
+---
+ t/op/stat.t | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/t/op/stat.t b/t/op/stat.t
+index ce86a74510..71888ee292 100644
+--- a/t/op/stat.t
++++ b/t/op/stat.t
+@@ -98,6 +98,7 @@ print FOO "Now is the time for all good men to come to.\n";
+ close(FOO);
+
+ stat($tmpfile) if $^O =~ /^gnukfreebsd/; # Work around Debian Bug#796798
++stat($tmpfile) if $^O eq 'gnu'; # Work around Debian Bug#822735
+ sleep 2;
+
+ my $has_link = 1;