From: Jan Palus Date: Tue, 10 May 2022 08:48:11 +0000 (+0200) Subject: patch from debian to disable sysv ipc tests on x32 X-Git-Tag: auto/th/perl-5.34.1-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=6d31f4e7287aacca8f445ea87682e307174f0548;p=packages%2Fperl.git patch from debian to disable sysv ipc tests on x32 --- diff --git a/perl.spec b/perl.spec index bc3c38b..857d20e 100644 --- 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 index 0000000..1a1bf6e --- /dev/null +++ b/x32-io-msg-skip.diff @@ -0,0 +1,23 @@ +From: Niko Tyni +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;