From: Jan Rękorajski Date: Thu, 29 Aug 2019 00:28:04 +0000 (+0200) Subject: - remove broken, obsolete patch (not needed and applies in wrong place) X-Git-Tag: auto/th/systemd-242-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fsystemd.git;a=commitdiff_plain;h=4cbc463a3d778833081ffff47376313cebe3553d;ds=sidebyside - remove broken, obsolete patch (not needed and applies in wrong place) --- diff --git a/systemd-seccomp_disable_on_i386.patch b/systemd-seccomp_disable_on_i386.patch deleted file mode 100644 index ccc0c33..0000000 --- a/systemd-seccomp_disable_on_i386.patch +++ /dev/null @@ -1,25 +0,0 @@ -commit e798dcbc24681f9516be4e18dfbe916cf9fa44bf -Author: Dave Reisner -Date: Wed Nov 9 08:00:26 2016 -0500 - - disable RestrictAddressFamilies on i686 - - Shit's broke, yo. - - https://github.com/systemd/systemd/issues/4575 - -diff --git a/src/core/execute.c b/src/core/execute.c -index 8f06abf81..fb03b1b36 100644 ---- a/src/core/execute.c -+++ b/src/core/execute.c -@@ -1329,6 +1329,10 @@ static int apply_address_families(const Unit* u, const ExecContext *c) { - Iterator i; - int r; - -+#if defined(__i386__) -+ return 0; -+#endif -+ - assert(c); - - if (skip_seccomp_unavailable(u, "RestrictAddressFamilies=")) diff --git a/systemd.spec b/systemd.spec index d1d2abc..4097057 100644 --- a/systemd.spec +++ b/systemd.spec @@ -76,7 +76,6 @@ Patch11: optional-tmp-on-tmpfs.patch Patch12: uids_gids.patch Patch13: sysctl.patch Patch14: pld-pam-%{name}-user.patch -Patch15: %{name}-seccomp_disable_on_i386.patch Patch16: gcc9.patch URL: https://www.freedesktop.org/wiki/Software/systemd/ BuildRequires: acl-devel @@ -673,7 +672,6 @@ Uzupełnianie parametrów w zsh dla poleceń udev. %patch12 -p1 %patch13 -p1 %patch14 -p1 -%patch15 -p1 %patch16 -p1 cp -p %{SOURCE2} src/systemd_booted.c