diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-07 02:09:48 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-07 02:09:48 +0000 |
commit | 0ca2b7f92cc00ad95420afd46f5e8f70baf93d42 (patch) | |
tree | b0d5a2a400d0f821040308d1ac6f310d3735834d /package/ppp/patches/403-no_wtmp.patch | |
parent | 00d2c4b0481bd9cdeb69b5ac420d46cdf4a5713d (diff) | |
download | upstream-0ca2b7f92cc00ad95420afd46f5e8f70baf93d42.tar.gz upstream-0ca2b7f92cc00ad95420afd46f5e8f70baf93d42.tar.bz2 upstream-0ca2b7f92cc00ad95420afd46f5e8f70baf93d42.zip |
ppp: add a few patches to reduce the package size
SVN-Revision: 25919
Diffstat (limited to 'package/ppp/patches/403-no_wtmp.patch')
-rw-r--r-- | package/ppp/patches/403-no_wtmp.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/ppp/patches/403-no_wtmp.patch b/package/ppp/patches/403-no_wtmp.patch new file mode 100644 index 0000000000..c3e9c7b613 --- /dev/null +++ b/package/ppp/patches/403-no_wtmp.patch @@ -0,0 +1,18 @@ +--- a/pppd/sys-linux.c ++++ b/pppd/sys-linux.c +@@ -2237,6 +2237,7 @@ int ppp_available(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 +@@ -2302,6 +2303,7 @@ void logwtmp (const char *line, const ch + close (wtmp); + } + #endif ++#endif + } + + |