summaryrefslogtreecommitdiff
path: root/user/ppp/fix-linux-5.15-include.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-04-30 17:58:18 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:58 -0500
commitc0a4ae36fe955a5571622473bf211e7f5ef678a7 (patch)
treefda6e606e7e48d73491d6821fdc86826a5c3e991 /user/ppp/fix-linux-5.15-include.patch
parentae83bc4545580779cc1189a5ba297eb43bf6f60f (diff)
downloadpackages-c0a4ae36fe955a5571622473bf211e7f5ef678a7.tar.gz
packages-c0a4ae36fe955a5571622473bf211e7f5ef678a7.tar.bz2
packages-c0a4ae36fe955a5571622473bf211e7f5ef678a7.tar.xz
packages-c0a4ae36fe955a5571622473bf211e7f5ef678a7.zip
user/ppp: add patch for linux headers 5.15. fixes #626.
Diffstat (limited to 'user/ppp/fix-linux-5.15-include.patch')
-rw-r--r--user/ppp/fix-linux-5.15-include.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/ppp/fix-linux-5.15-include.patch b/user/ppp/fix-linux-5.15-include.patch
new file mode 100644
index 000000000..080c306b4
--- /dev/null
+++ b/user/ppp/fix-linux-5.15-include.patch
@@ -0,0 +1,12 @@
+diff -ur a/pppd/Makefile.linux b/pppd/Makefile.linux
+--- a/pppd/Makefile.linux 2022-04-30 17:56:16.092083205 +0000
++++ b/pppd/Makefile.linux 2022-04-30 17:56:55.423147553 +0000
+@@ -88,7 +88,7 @@
+
+ INCLUDE_DIRS= -I../include
+
+-COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
++COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP
+
+ CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"'
+