Accepting request 726522 from home:tiwai:branches:multimedia:libs
- Workaround for old systemd on Leap 15.x, as the recent hardening relies on the new systemd: pulseaudio-old-systemd-workaround.patch OBS-URL: https://build.opensuse.org/request/show/726522 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=210
This commit is contained in:
parent
4d60fa434b
commit
c34382ebb0
15
pulseaudio-old-systemd-workaround.patch
Normal file
15
pulseaudio-old-systemd-workaround.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
src/daemon/systemd/user/pulseaudio.service.in | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- a/src/daemon/systemd/user/pulseaudio.service.in
|
||||||
|
+++ b/src/daemon/systemd/user/pulseaudio.service.in
|
||||||
|
@@ -24,7 +24,7 @@ NoNewPrivileges=yes
|
||||||
|
Restart=on-failure
|
||||||
|
RestrictNamespaces=yes
|
||||||
|
SystemCallArchitectures=native
|
||||||
|
-SystemCallFilter=@system-service
|
||||||
|
+# SystemCallFilter=@system-service
|
||||||
|
# Note that notify will only work if --daemonize=no
|
||||||
|
Type=notify
|
||||||
|
UMask=0077
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 27 15:43:10 CEST 2019 - tiwai@suse.de
|
||||||
|
|
||||||
|
- Workaround for old systemd on Leap 15.x, as the recent hardening
|
||||||
|
relies on the new systemd:
|
||||||
|
pulseaudio-old-systemd-workaround.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 6 20:18:24 UTC 2019 - Ondrej Holecek <oholecek@suse.com>
|
Tue Aug 6 20:18:24 UTC 2019 - Ondrej Holecek <oholecek@suse.com>
|
||||||
|
|
||||||
|
@ -47,6 +47,8 @@ Patch1: suppress-socket-error-msg.diff
|
|||||||
Patch2: pulseaudio-wrong-memset.patch
|
Patch2: pulseaudio-wrong-memset.patch
|
||||||
# PATCH-FIX-OPENSUSE qpaeq-shebang.patch Avoid rpmlint error due to using env python shebang
|
# PATCH-FIX-OPENSUSE qpaeq-shebang.patch Avoid rpmlint error due to using env python shebang
|
||||||
Patch5: qpaeq-shebang.patch
|
Patch5: qpaeq-shebang.patch
|
||||||
|
# PATCH-FIX-OPENSUSE Workaround for old systemd on Leap 15.x
|
||||||
|
Patch6: pulseaudio-old-systemd-workaround.patch
|
||||||
BuildRequires: alsa-devel >= 1.0.19
|
BuildRequires: alsa-devel >= 1.0.19
|
||||||
BuildRequires: bluez-devel >= 5
|
BuildRequires: bluez-devel >= 5
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
@ -339,6 +341,10 @@ Optional dependency offering zsh completion for various PulseAudio utilities
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2
|
%patch2
|
||||||
%patch5
|
%patch5
|
||||||
|
# workaround for Leap 15.x
|
||||||
|
%if 0%{?suse_version} < 1550
|
||||||
|
%patch6 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define _lto_cflags %{nil}
|
%define _lto_cflags %{nil}
|
||||||
|
Loading…
Reference in New Issue
Block a user