[packages/perl] patch from debian to disable sysv ipc tests on x32
atler
atler at pld-linux.org
Tue May 10 10:49:30 CEST 2022
commit 6d31f4e7287aacca8f445ea87682e307174f0548
Author: Jan Palus <atler at pld-linux.org>
Date: Tue May 10 10:48:11 2022 +0200
patch from debian to disable sysv ipc tests on x32
perl.spec | 2 ++
x32-io-msg-skip.diff | 23 +++++++++++++++++++++++
2 files changed, 25 insertions(+)
---
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 <ntyni at 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;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl.git/commitdiff/6d31f4e7287aacca8f445ea87682e307174f0548
More information about the pld-cvs-commit
mailing list