diff --git a/pulseaudio-old-systemd-workaround.patch b/pulseaudio-old-systemd-workaround.patch new file mode 100644 index 0000000..4ab5b9d --- /dev/null +++ b/pulseaudio-old-systemd-workaround.patch @@ -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 diff --git a/pulseaudio.changes b/pulseaudio.changes index 205b11a..ba8fd99 100644 --- a/pulseaudio.changes +++ b/pulseaudio.changes @@ -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 diff --git a/pulseaudio.spec b/pulseaudio.spec index 6650a2e..b7ab20c 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -47,6 +47,8 @@ Patch1: suppress-socket-error-msg.diff Patch2: pulseaudio-wrong-memset.patch # PATCH-FIX-OPENSUSE qpaeq-shebang.patch Avoid rpmlint error due to using env python shebang 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: bluez-devel >= 5 BuildRequires: doxygen @@ -339,6 +341,10 @@ Optional dependency offering zsh completion for various PulseAudio utilities %patch1 -p1 %patch2 %patch5 +# workaround for Leap 15.x +%if 0%{?suse_version} < 1550 +%patch6 -p1 +%endif %build %define _lto_cflags %{nil}