From 7fa3fe6741b08fb26058e92a43dfd9d3798d102a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 20 Mar 2014 13:51:36 +0000 Subject: pppd: fix build errors with musl Signed-off-by: Felix Fietkau SVN-Revision: 39963 --- package/network/services/ppp/patches/403-no_wtmp.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/network/services/ppp/patches/403-no_wtmp.patch') diff --git a/package/network/services/ppp/patches/403-no_wtmp.patch b/package/network/services/ppp/patches/403-no_wtmp.patch index e8e76252c0..60e1272d3b 100644 --- a/package/network/services/ppp/patches/403-no_wtmp.patch +++ b/package/network/services/ppp/patches/403-no_wtmp.patch @@ -7,7 +7,7 @@ Signed-off-by: Jo-Philipp Wich --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c -@@ -2266,6 +2266,7 @@ int ppp_available(void) +@@ -2259,6 +2259,7 @@ int ppp_available(void) void logwtmp (const char *line, const char *name, const char *host) { @@ -15,7 +15,7 @@ Signed-off-by: Jo-Philipp Wich struct utmp ut, *utp; pid_t mypid = getpid(); #if __GLIBC__ < 2 -@@ -2331,6 +2332,7 @@ void logwtmp (const char *line, const ch +@@ -2324,6 +2325,7 @@ void logwtmp (const char *line, const ch close (wtmp); } #endif -- cgit v1.2.3