From: Lars Pedersen <lapeddk@gmail.com>
To: ptxdist@pengutronix.de
Cc: Lars Pedersen <lapeddk@gmail.com>
Subject: [ptxdist] [PATCH 1/2] ppp: patch: Makefile add chap_ms.h into headers
Date: Tue, 7 Nov 2023 15:02:09 +0100 [thread overview]
Message-ID: <20231107140210.2780010-1-lapeddk@gmail.com> (raw)
Patch to fix compile error in NetworkManager pppd part:
nm-pppd-compat.c:50:10: fatal error: pppd/chap_ms.h: No such file or
directory
Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
| 25 +++++++++++++++++++
patches/ppp-2.4.9/series | 1 +
2 files changed, 26 insertions(+)
create mode 100644 patches/ppp-2.4.9/0202-makefile-add-chap_ms-into-headers.patch
--git a/patches/ppp-2.4.9/0202-makefile-add-chap_ms-into-headers.patch b/patches/ppp-2.4.9/0202-makefile-add-chap_ms-into-headers.patch
new file mode 100644
index 000000000..bd05aafff
--- /dev/null
+++ b/patches/ppp-2.4.9/0202-makefile-add-chap_ms-into-headers.patch
@@ -0,0 +1,25 @@
+From 2ea8d8a07be3af9693eed1f1bf867f499c61a762 Mon Sep 17 00:00:00 2001
+From: Lars Pedersen <lapeddk@gmail.com>
+Date: Sat, 4 Nov 2023 13:49:08 +0000
+Subject: [PATCH 1/1] Add chap_ms.h header
+
+---
+ pppd/Makefile.linux | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux
+index 9b0119463c1f..ae2a1d80192d 100644
+--- a/pppd/Makefile.linux
++++ b/pppd/Makefile.linux
+@@ -21,7 +21,7 @@ PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap-new.c ccp.c \
+
+ HEADERS = ccp.h session.h chap-new.h ecp.h fsm.h ipcp.h \
+ ipxcp.h lcp.h magic.h patchlevel.h pathnames.h pppd.h \
+- upap.h eap.h
++ upap.h eap.h chap_ms.h
+
+ MANPAGES = pppd.8
+ PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o ccp.o \
+--
+2.41.0
+
diff --git a/patches/ppp-2.4.9/series b/patches/ppp-2.4.9/series
index 4028f0892..7655fc9f7 100644
--- a/patches/ppp-2.4.9/series
+++ b/patches/ppp-2.4.9/series
@@ -14,4 +14,5 @@
#tag:ptx --start-number 200
0200-pppd-make-makefile-sysroot-aware.patch
0201-pppd-make-the-self-made-configure-cross-aware.patch
+0202-makefile-add-chap_ms-into-headers.patch
# 9c9016a8956cf8c0dc84ee8dbe803cf3 - git-ptx-patches magic
--
2.41.0
next reply other threads:[~2023-11-07 14:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-07 14:02 Lars Pedersen [this message]
2023-11-07 14:02 ` [ptxdist] [PATCH 2/2] networkmanager: Version bump 1.30.4 to 1.44.2 Lars Pedersen
2023-11-11 6:09 ` [ptxdist] [PATCH 1/2] ppp: patch: Makefile add chap_ms.h into headers Michael Olbrich
2023-11-13 10:30 ` Lars Pedersen
2023-11-17 7:26 ` Michael Olbrich
2023-11-17 9:45 ` Lars Pedersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231107140210.2780010-1-lapeddk@gmail.com \
--to=lapeddk@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox