python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / x11r7 / xapp_sessreg / 0001-missing_path_wtmpx.patch
blob0be242c0b2a67c1d06eaf3576f7b3c4f670567b3
1 Fix missing defines _PATH_WTMPX/_PATH_UTMPX in musl
3 Downloaded from
4 https://cgit.gentoo.org/proj/musl.git/tree/x11-apps/sessreg/files/sessreg-1.1.0-missing_path_wtmpx.patch
6 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
8 diff -Naur sessreg-1.1.0.orig/sessreg.h sessreg-1.1.0/sessreg.h
9 --- sessreg-1.1.0.orig/sessreg.h 2015-01-20 05:00:27.000000000 +0000
10 +++ sessreg-1.1.0/sessreg.h 2016-02-23 11:54:42.057000000 +0000
11 @@ -103,6 +103,13 @@
12 # define TTYS_FILE "/etc/ttys"
13 #endif
15 +#ifndef _PATH_WTMPX
16 +# define _PATH_WTMPX "/var/log/wtmp"
17 +#endif
18 +#ifndef _PATH_UTMPX
19 +# define _PATH_UTMPX "/var/log/utmp"
20 +#endif
22 #ifndef WTMPX_FILE
23 # define WTMPX_FILE _PATH_WTMPX
24 #endif