diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-26 06:13:10 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-26 06:13:10 +0000 |
commit | fd24b5926b3a965f9cca3aa0389feda568e86f03 (patch) | |
tree | d6670e4d4f8c7563f855d8fce195f13b16a16e38 /main/sessreg/missing_path_wtmpx.patch | |
parent | 56aa0dca6788d52e68f5b2cab0320938b6b7a637 (diff) | |
download | aports-fd24b5926b3a965f9cca3aa0389feda568e86f03.tar.bz2 aports-fd24b5926b3a965f9cca3aa0389feda568e86f03.tar.xz |
main/sessreg: fixed builddir and added patch for utmp path
Diffstat (limited to 'main/sessreg/missing_path_wtmpx.patch')
-rw-r--r-- | main/sessreg/missing_path_wtmpx.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/sessreg/missing_path_wtmpx.patch b/main/sessreg/missing_path_wtmpx.patch index dac21245f1..0514de59b7 100644 --- a/main/sessreg/missing_path_wtmpx.patch +++ b/main/sessreg/missing_path_wtmpx.patch @@ -10,3 +10,15 @@ diff -Naur sessreg-1.0.8.orig/sessreg.h sessreg-1.0.8/sessreg.h +# define _PATH_WTMPX "/var/log/wtmp" +#endif + +diff --git a/sessreg.h b/sessreg.h +index b3bbac9..d0c0105 100644 +--- a/sessreg.h ++++ b/sessreg.h +@@ -114,3 +114,7 @@ + # define _PATH_WTMPX "/var/log/wtmp" + #endif + ++#ifndef _PATH_UTMPX ++# define _PATH_UTMPX "/var/log/utmp" ++#endif ++ |