ppp: remove uClibc wtmp hack patch
authorShiji Yang <yangshiji66@qq.com>
Fri, 4 Oct 2024 14:25:52 +0000 (22:25 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Oct 2024 13:53:06 +0000 (15:53 +0200)
The uClibc library support was removed since commit:
57fe7d5401e3 ("toolchain: remove uClibc install stuff")

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16605
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/services/ppp/patches/403-no_wtmp.patch [deleted file]

diff --git a/package/network/services/ppp/patches/403-no_wtmp.patch b/package/network/services/ppp/patches/403-no_wtmp.patch
deleted file mode 100644 (file)
index 39d105f..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-pppd: Disable wtmp support
-
-Many uClibc based environments lack wtmp and utmp support, therfore remove
-the code updating the wtmp information.
-
-Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
---- a/pppd/sys-linux.c
-+++ b/pppd/sys-linux.c
-@@ -3033,6 +3033,7 @@ int ppp_check_kernel_support(void)
- void logwtmp (const char *line, const char *name, const char *host)
- {
-+#if 0
-     struct utmp ut, *utp;
-     pid_t  mypid = getpid();
- #if __GLIBC__ < 2
-@@ -3098,6 +3099,7 @@ void logwtmp (const char *line, const ch
-       close (wtmp);
-     }
- #endif
-+#endif
- }
- #endif /* HAVE_LOGWTMP */