summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcpcd/files
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2020-12-09 16:12:29 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-15 22:51:55 +0000
commit98a0b83eb105da7d933fef738381e44e23dbc059 (patch)
treeb2dfc10d689468f3963c2c214bc9a76c05b110df /meta/recipes-connectivity/dhcpcd/files
parent4864764667097b32a3ee1935e2c52df732d55632 (diff)
downloadpoky-98a0b83eb105da7d933fef738381e44e23dbc059.tar.gz
dhcpcd: upgrade 9.3.2 -> 9.3.4
Backport a patch to fix privsep build error on ppc. (From OE-Core rev: d79624f9dbe79f6185a2d6127c67508ba940f527) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/dhcpcd/files')
-rw-r--r--meta/recipes-connectivity/dhcpcd/files/0001-Linux-Fix-privsep-build-by-including-sys-termios.h-f.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcpcd/files/0001-Linux-Fix-privsep-build-by-including-sys-termios.h-f.patch b/meta/recipes-connectivity/dhcpcd/files/0001-Linux-Fix-privsep-build-by-including-sys-termios.h-f.patch
new file mode 100644
index 0000000000..095e3eb409
--- /dev/null
+++ b/meta/recipes-connectivity/dhcpcd/files/0001-Linux-Fix-privsep-build-by-including-sys-termios.h-f.patch
@@ -0,0 +1,29 @@
1From e7c22336461ee345a5668eed6158e935cd4cdf1a Mon Sep 17 00:00:00 2001
2From: Mikhail Efremov <sem@altlinux.org>
3Date: Tue, 8 Dec 2020 16:15:28 +0000
4Subject: [PATCH] Linux: Fix privsep build by including sys/termios.h for all
5 platforms
6
7Upstream-Status: Backport
8[https://roy.marples.name/cgit/dhcpcd.git/commit/?id=e7c22336461ee345a5668eed6158e935cd4cdf1a]
9
10Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
11---
12 src/privsep-linux.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/src/privsep-linux.c b/src/privsep-linux.c
16index e588ecd7..1fbe97fa 100644
17--- a/src/privsep-linux.c
18+++ b/src/privsep-linux.c
19@@ -29,6 +29,7 @@
20 #include <sys/ioctl.h>
21 #include <sys/prctl.h>
22 #include <sys/syscall.h>
23+#include <sys/termios.h> /* For TCGETS */
24
25 #include <linux/audit.h>
26 #include <linux/filter.h>
27--
282.25.1
29