]> git.pld-linux.org Git - packages/perl.git/commitdiff
patch from debian to disable sysv ipc tests on x32 auto/th/perl-5.34.1-1
authorJan Palus <atler@pld-linux.org>
Tue, 10 May 2022 08:48:11 +0000 (10:48 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 10 May 2022 08:48:11 +0000 (10:48 +0200)
perl.spec
x32-io-msg-skip.diff [new file with mode: 0644]

index bc3c38be178ed1e4706aaeb4c962c5c5dff7471c..857d20e669e4ec34e69038561367d339cfcc9834 100644 (file)
--- a/perl.spec
+++ b/perl.spec
@@ -79,6 +79,7 @@ Source1:      http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-ma
 Source2:       %{name}.prov
 Source3:       %{name}-modules
 Source4:       %{name}-modules2
+Patch0:                x32-io-msg-skip.diff
 Patch2:                %{name}_580-errno_h-parsing.patch
 Patch3:                %{name}_581-soname.patch
 Patch4:                %{name}-test-noproc.patch
@@ -721,6 +722,7 @@ zbyt duża, a rozmiar za mały na tworzenie oddzielnych rozszerzeń.
 
 %prep
 %setup -q
+%patch0 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
diff --git a/x32-io-msg-skip.diff b/x32-io-msg-skip.diff
new file mode 100644 (file)
index 0000000..1a1bf6e
--- /dev/null
@@ -0,0 +1,23 @@
+From: Niko Tyni <ntyni@debian.org>
+Date: Thu, 26 Aug 2021 00:34:37 +0300
+Subject: Skip io/msg.t on x32 due to broken System V message queues
+
+Bug-Debian: https://bugs.debian.org/922609
+---
+ t/io/msg.t | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/t/io/msg.t b/t/io/msg.t
+index 2c3f75b..f5bc991 100644
+--- a/t/io/msg.t
++++ b/t/io/msg.t
+@@ -14,6 +14,9 @@ BEGIN {
+   if ($Config{'d_msg'} ne 'define') {
+     skip_all('-- $Config{d_msg} undefined');
+   }
++  if ($Config{'archname'} =~ /gnux32/) {
++    skip_all('-- SysV IPC message queues are broken on x32, see https://bugs.debian.org/988900');
++  }
+ }
+ use strict;
This page took 0.1462 seconds and 4 git commands to generate.