aboutsummaryrefslogtreecommitdiffstats
path: root/main/sessreg/missing_path_wtmpx.patch
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2015-11-06 17:56:56 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-09 09:26:06 +0000
commitc2c618cf36d9dd0f504b1622173affece6287482 (patch)
treea293cca9abdc4682df256435cdb6ac97a4efd1e1 /main/sessreg/missing_path_wtmpx.patch
parent28b498910d6739befde516f97677eb2a7045d409 (diff)
downloadaports-c2c618cf36d9dd0f504b1622173affece6287482.tar.bz2
aports-c2c618cf36d9dd0f504b1622173affece6287482.tar.xz
main/sessreq: new upstream version 1.1.0
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
++