summaryrefslogtreecommitdiff
path: root/debian/patches/debian/hurd-softupdates.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debian/hurd-softupdates.diff')
-rw-r--r--debian/patches/debian/hurd-softupdates.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/debian/hurd-softupdates.diff b/debian/patches/debian/hurd-softupdates.diff
new file mode 100644
index 0000000..b13cd57
--- /dev/null
+++ b/debian/patches/debian/hurd-softupdates.diff
@@ -0,0 +1,24 @@
+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
+---
+ t/op/stat.t | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/t/op/stat.t b/t/op/stat.t
+index 2e75fec..19a6615 100644
+--- a/t/op/stat.t
++++ b/t/op/stat.t
+@@ -102,6 +102,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;