kumquat-buildroot/package/x11r7/xapp_sessreg/0001-missing_path_wtmpx.patch
Bernd Kuhls c6bc02f8c2 package/x11r7/xapp_sessreg: bump version to 1.1.1
Removed patch applied upstream:
https://cgit.freedesktop.org/xorg/app/sessreg/commit/?id=93f5d5abf6b214a4b36e00cd09174d24b2ed0a6d

Renumbered remaining patch.
Changed _SITE according to URL mentioned in upstream release note.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-03-05 16:37:05 +01:00

25 lines
686 B
Diff

Fix missing defines _PATH_WTMPX/_PATH_UTMPX in musl
Downloaded from
https://cgit.gentoo.org/proj/musl.git/tree/x11-apps/sessreg/files/sessreg-1.1.0-missing_path_wtmpx.patch
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
diff -Naur sessreg-1.1.0.orig/sessreg.h sessreg-1.1.0/sessreg.h
--- sessreg-1.1.0.orig/sessreg.h 2015-01-20 05:00:27.000000000 +0000
+++ sessreg-1.1.0/sessreg.h 2016-02-23 11:54:42.057000000 +0000
@@ -103,6 +103,13 @@
# define TTYS_FILE "/etc/ttys"
#endif
+#ifndef _PATH_WTMPX
+# define _PATH_WTMPX "/var/log/wtmp"
+#endif
+#ifndef _PATH_UTMPX
+# define _PATH_UTMPX "/var/log/utmp"
+#endif
+
#ifndef WTMPX_FILE
# define WTMPX_FILE _PATH_WTMPX
#endif