Accepting request 568081 from home:Andreas_Schwab:Factory
- posix-sigaction.patch: make sure Perl_sighandler is always installed with SA_SIGINFO (bsc#1064697) OBS-URL: https://build.opensuse.org/request/show/568081 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=160
This commit is contained in:
parent
905159af17
commit
5bcc789275
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 22 10:25:12 UTC 2018 - schwab@suse.de
|
||||
|
||||
- posix-sigaction.patch: make sure Perl_sighandler is always installed
|
||||
with SA_SIGINFO (bsc#1064697)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 11:57:01 UTC 2018 - normand@linux.vnet.ibm.com
|
||||
|
||||
|
@ -49,6 +49,7 @@ Patch11: perl-5.18.2-overflow.diff
|
||||
# PATCH-FIX-OPENSUSE
|
||||
Patch12: perl-reproducible.patch
|
||||
Patch13: perl_skip_flaky_tests_powerpc.patch
|
||||
Patch14: posix-sigaction.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: perl-base = %version
|
||||
#PreReq: %fillup_prereq
|
||||
@ -192,6 +193,7 @@ cp -p %{S:3} .
|
||||
%patch9
|
||||
%patch11
|
||||
%patch12 -p1
|
||||
%patch14 -p1
|
||||
|
||||
%build
|
||||
cp -a lib savelib
|
||||
|
15
posix-sigaction.patch
Normal file
15
posix-sigaction.patch
Normal file
@ -0,0 +1,15 @@
|
||||
Index: perl-5.26.1/ext/POSIX/POSIX.xs
|
||||
===================================================================
|
||||
--- perl-5.26.1.orig/ext/POSIX/POSIX.xs
|
||||
+++ perl-5.26.1/ext/POSIX/POSIX.xs
|
||||
@@ -3158,6 +3158,10 @@ sigaction(sig, optaction, oldaction = 0)
|
||||
/* Set up any desired flags. */
|
||||
svp = hv_fetchs(action, "FLAGS", FALSE);
|
||||
act.sa_flags = svp ? SvIV(*svp) : 0;
|
||||
+#ifdef SA_SIGINFO
|
||||
+ /* Perl_sighandler depends on the extra arguments. */
|
||||
+ act.sa_flags |= SA_SIGINFO;
|
||||
+#endif
|
||||
|
||||
/* Don't worry about cleaning up *sigsvp if this fails,
|
||||
* because that means we tried to disposition a
|
Loading…
Reference in New Issue
Block a user