Skip to content

Commit

Permalink
musl: define logwtmp() stub
Browse files Browse the repository at this point in the history
Required by pptpd when built with gcc v14, possibly other packages too.

Signed-off-by: Marius Dinu <[email protected]>
  • Loading branch information
M95D committed Oct 29, 2024
1 parent a0eafc3 commit 479a568
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions toolchain/musl/patches/903-define-logwtmp.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/include/utmp.h
+++ b/include/utmp.h
@@ -32,6 +32,7 @@ struct utmp *getutline(const struct utmp
struct utmp *pututline(const struct utmp *);
void setutent(void);

+void logwtmp(const char *line, const char *name, const char *host);
void updwtmp(const char *, const struct utmp *);
int utmpname(const char *);

0 comments on commit 479a568

Please sign in to comment.