diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-25 15:16:54 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-25 15:16:54 +0200 |
commit | 19bfcef590655dbb27dc59fe27103715a8fcbce5 (patch) | |
tree | 3851db0bd5352da36c73a01453311b758b6afd55 /community/accountsservice/musl-wtmp.patch | |
parent | f73cb5c48ec938020c59024cc75f7b7d19ec9b31 (diff) | |
download | aports-19bfcef590655dbb27dc59fe27103715a8fcbce5.tar.bz2 aports-19bfcef590655dbb27dc59fe27103715a8fcbce5.tar.xz |
community/accountsservice: move from testing
needed by lightdm
Diffstat (limited to 'community/accountsservice/musl-wtmp.patch')
-rw-r--r-- | community/accountsservice/musl-wtmp.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/accountsservice/musl-wtmp.patch b/community/accountsservice/musl-wtmp.patch new file mode 100644 index 0000000000..4393c0209a --- /dev/null +++ b/community/accountsservice/musl-wtmp.patch @@ -0,0 +1,13 @@ +--- a/meson.build ++++ b/meson.build +@@ -82,8 +82,7 @@ if cc.has_header_symbol('utmpx.h', 'WTMPX_FILENAME', prefix: '#define _GNU_SOURC + elif cc.has_header_symbol('paths.h', '_PATH_WTMPX') + config_h.set('PATH_WTMP', '_PATH_WTMPX') + else +- assert(run_command('test', '-e', '/var/log/utx.log').returncode() == 0, 'Do not know which filename to watch for wtmp changes') +- config_h.set_quoted('PATH_WTMP', '/var/log/utx.log') ++ config_h.set_quoted('PATH_WTMP', '/var/log/wtmp') + endif + + # compiler flags + |