diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-03-31 21:58:46 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-03-31 21:59:17 +0200 |
commit | 175d8dc6b2f3d1c8911e59b28187a93b45f4b887 (patch) | |
tree | d975ba9fe67893e2965e03cadf4a7c916cfb7e38 /net-misc | |
parent | dev-python/netcdf4-python: remove unused patch(es) (diff) | |
download | gentoo-175d8dc6b2f3d1c8911e59b28187a93b45f4b887.tar.gz gentoo-175d8dc6b2f3d1c8911e59b28187a93b45f4b887.tar.bz2 gentoo-175d8dc6b2f3d1c8911e59b28187a93b45f4b887.zip |
net-misc/dhcpcd: Fixed build with USE="privsep"
Closes: https://bugs.gentoo.org/777600
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/dhcpcd/dhcpcd-9.3.4.ebuild | 1 | ||||
-rw-r--r-- | net-misc/dhcpcd/files/dhcpcd-9.3.4-include_termios.patch | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/dhcpcd/dhcpcd-9.3.4.ebuild b/net-misc/dhcpcd/dhcpcd-9.3.4.ebuild index 90ee346ea29a..2b787b26667d 100644 --- a/net-misc/dhcpcd/dhcpcd-9.3.4.ebuild +++ b/net-misc/dhcpcd/dhcpcd-9.3.4.ebuild @@ -35,6 +35,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-9.4.0-sparc_privsep.patch" #776178 + "${FILESDIR}/${PN}-9.3.4-include_termios.patch" #777600 ) src_configure() { diff --git a/net-misc/dhcpcd/files/dhcpcd-9.3.4-include_termios.patch b/net-misc/dhcpcd/files/dhcpcd-9.3.4-include_termios.patch new file mode 100644 index 000000000000..58a6a0216b8a --- /dev/null +++ b/net-misc/dhcpcd/files/dhcpcd-9.3.4-include_termios.patch @@ -0,0 +1,22 @@ +From 7c08f3777a69c69e87a149bb35681ce2ed2f0490 Mon Sep 17 00:00:00 2001 +From: Mikhail Efremov <sem@altlinux.org> +Date: Tue, 8 Dec 2020 16:15:28 +0000 +Subject: [PATCH] Linux: Fix privsep build by including sys/termios.h for all + platforms + +--- + src/privsep-linux.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/privsep-linux.c b/src/privsep-linux.c +index e588ecd7..1fbe97fa 100644 +--- a/src/privsep-linux.c ++++ b/src/privsep-linux.c +@@ -29,6 +29,7 @@ + #include <sys/ioctl.h> + #include <sys/prctl.h> + #include <sys/syscall.h> ++#include <sys/termios.h> /* For TCGETS */ + + #include <linux/audit.h> + #include <linux/filter.h> |