aboutsummaryrefslogtreecommitdiffstats
path: root/main/sessreg/missing_path_wtmpx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/sessreg/missing_path_wtmpx.patch')
-rw-r--r--main/sessreg/missing_path_wtmpx.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/sessreg/missing_path_wtmpx.patch b/main/sessreg/missing_path_wtmpx.patch
new file mode 100644
index 0000000000..dac21245f1
--- /dev/null
+++ b/main/sessreg/missing_path_wtmpx.patch
@@ -0,0 +1,12 @@
+diff -Naur sessreg-1.0.8.orig/sessreg.h sessreg-1.0.8/sessreg.h
+--- sessreg-1.0.8.orig/sessreg.h 2013-02-10 21:43:50.000000000 -0500
++++ sessreg-1.0.8/sessreg.h 2014-06-18 10:02:17.769459663 -0400
+@@ -106,3 +106,8 @@
+ #ifndef UTMPX_FILE
+ # define UTMPX_FILE _PATH_UTMPX
+ #endif
++
++#ifndef _PATH_WTMPX
++# define _PATH_WTMPX "/var/log/wtmp"
++#endif
++