diff options
Diffstat (limited to 'app-admin/sudo/files/sudo-1.8.3_p1-no-utmpx.patch')
-rw-r--r-- | app-admin/sudo/files/sudo-1.8.3_p1-no-utmpx.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-admin/sudo/files/sudo-1.8.3_p1-no-utmpx.patch b/app-admin/sudo/files/sudo-1.8.3_p1-no-utmpx.patch new file mode 100644 index 000000000000..1e72ed643ba1 --- /dev/null +++ b/app-admin/sudo/files/sudo-1.8.3_p1-no-utmpx.patch @@ -0,0 +1,15 @@ +the fallback logic doesn't even compile + +--- a/src/utmp.c ++++ b/src/utmp.c +@@ -63,8 +63,8 @@ + #if !defined(HAVE_GETUTXID) && defined(HAVE_GETUTID) + # define getutxline(u) getutline(u) + # define pututxline(u) pututline(u) +-# define setutxent setutent(u) +-# define endutxent endutent(u) ++# define setutxent() setutent() ++# define endutxent() endutent() + #endif /* !HAVE_GETUTXID && HAVE_GETUTID */ + + #ifdef HAVE_GETUTXID |