summaryrefslogtreecommitdiff
path: root/repo/system/musl/fix-utmp-wtmp-paths.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/system/musl/fix-utmp-wtmp-paths.patch
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/system/musl/fix-utmp-wtmp-paths.patch')
-rw-r--r--repo/system/musl/fix-utmp-wtmp-paths.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/repo/system/musl/fix-utmp-wtmp-paths.patch b/repo/system/musl/fix-utmp-wtmp-paths.patch
deleted file mode 100644
index 900abc7..0000000
--- a/repo/system/musl/fix-utmp-wtmp-paths.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -uNr musl-1.2.2.orig/include/paths.h musl-1.2.2/include/paths.h
---- musl-1.2.2.orig/include/paths.h 2021-01-14 20:26:00.000000000 -0600
-+++ musl-1.2.2/include/paths.h 2021-08-26 16:39:31.355618388 -0500
-@@ -18,9 +18,9 @@
- #define _PATH_SHADOW "/etc/shadow"
- #define _PATH_SHELLS "/etc/shells"
- #define _PATH_TTY "/dev/tty"
--#define _PATH_UTMP "/dev/null/utmp"
-+#define _PATH_UTMP "/run/utmps/utmp"
- #define _PATH_VI "/usr/bin/vi"
--#define _PATH_WTMP "/dev/null/wtmp"
-+#define _PATH_WTMP "/var/log/wtmp"
-
- #define _PATH_DEV "/dev/"
- #define _PATH_TMP "/tmp/"
-diff -uNr musl-1.2.2.orig/include/utmp.h musl-1.2.2/include/utmp.h
---- musl-1.2.2.orig/include/utmp.h 2021-01-14 20:26:00.000000000 -0600
-+++ musl-1.2.2/include/utmp.h 2021-08-26 16:37:11.567365982 -0500
-@@ -37,8 +37,8 @@
-
- int login_tty(int);
-
--#define _PATH_UTMP "/dev/null/utmp"
--#define _PATH_WTMP "/dev/null/wtmp"
-+#define _PATH_UTMP "/run/utmps/utmp"
-+#define _PATH_WTMP "/var/log/wtmp"
-
- #define UTMP_FILE _PATH_UTMP
- #define WTMP_FILE _PATH_WTMP