[packages/perl-Coro] - switch CORO_INTERFACE to setjmp on x32 (asm fails tests); release 2
qboosh
qboosh at pld-linux.org
Mon Jun 28 20:56:58 CEST 2021
commit 8bc3d84ce5f2a49b2de57daca3390c202a2cf1a7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jun 28 21:00:02 2021 +0200
- switch CORO_INTERFACE to setjmp on x32 (asm fails tests); release 2
perl-Coro.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/perl-Coro.spec b/perl-Coro.spec
index 4ef2de9..e609fd0 100644
--- a/perl-Coro.spec
+++ b/perl-Coro.spec
@@ -8,7 +8,7 @@ Summary: Coro - do events the coro-way
Summary(pl.UTF-8): Coro - obsługa zdarzeń na sposób coro
Name: perl-Coro
Version: 6.57
-Release: 1
+Release: 2
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
@@ -57,7 +57,12 @@ wątkowych programów.
%{__sed} -i "s^/opt/bin/perl^%{_bindir}/perl^" Coro/jit*pl
%build
-echo "y" | %{__perl} Makefile.PL \
+# CORO_INTERFACE: use setjmp on x32 (asm fails tests)
+echo "y" | \
+%ifarch x32
+ CORO_INTERFACE=s \
+%endif
+%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make} \
CC="%{__cc}" \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Coro.git/commitdiff/8bc3d84ce5f2a49b2de57daca3390c202a2cf1a7
More information about the pld-cvs-commit
mailing list