diff options
Diffstat (limited to 'meta/recipes-connectivity/ppp/ppp')
-rw-r--r-- | meta/recipes-connectivity/ppp/ppp/0001-ppp-fix-build-against-5.15-headers.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/ppp/ppp/0001-ppp-fix-build-against-5.15-headers.patch b/meta/recipes-connectivity/ppp/ppp/0001-ppp-fix-build-against-5.15-headers.patch new file mode 100644 index 0000000000..c91246dbf5 --- /dev/null +++ b/meta/recipes-connectivity/ppp/ppp/0001-ppp-fix-build-against-5.15-headers.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From aba3273273e826c6dc90f197ca9a3e800e826891 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
3 | Date: Fri, 5 Nov 2021 12:41:35 -0400 | ||
4 | Subject: [PATCH] ppp: fix build against 5.15 headers | ||
5 | |||
6 | The 5.15 kernel has removed ipx support, along with the userspace | ||
7 | visible header. | ||
8 | |||
9 | This support wasn't used previously (as it hasn't been very well | ||
10 | maintained in the kernel for several years), so we can simply | ||
11 | disable it in our build and wait for upstream to do a release that | ||
12 | drops the support. | ||
13 | |||
14 | Upstream-Status: Inappropriate [OE-specific configuration/headers] | ||
15 | |||
16 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
17 | --- | ||
18 | pppd/Makefile.linux | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux | ||
22 | index 22837c5..23b9b22 100644 | ||
23 | --- a/pppd/Makefile.linux | ||
24 | +++ b/pppd/Makefile.linux | ||
25 | @@ -91,7 +91,7 @@ MAXOCTETS=y | ||
26 | |||
27 | INCLUDE_DIRS= -I../include | ||
28 | |||
29 | -COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -pipe | ||
30 | +COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP -pipe | ||
31 | |||
32 | CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"' | ||
33 | |||
34 | -- | ||
35 | 2.25.1 | ||
36 | |||