diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-21 21:39:49 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-21 21:39:49 +0000 |
commit | a76836c7b0f1e5fbda190139ce72e7cfdb2308d8 (patch) | |
tree | f9d2c2fd9bcaa05ac63d0abf2f12f56a9b33ad7e /user/gcompat/no-utmp.patch | |
parent | 1d5ef90265c649561fae7bc749008ca3975a5a67 (diff) | |
download | packages-a76836c7b0f1e5fbda190139ce72e7cfdb2308d8.tar.gz packages-a76836c7b0f1e5fbda190139ce72e7cfdb2308d8.tar.bz2 packages-a76836c7b0f1e5fbda190139ce72e7cfdb2308d8.tar.xz packages-a76836c7b0f1e5fbda190139ce72e7cfdb2308d8.zip |
user/gcompat: new package
Diffstat (limited to 'user/gcompat/no-utmp.patch')
-rw-r--r-- | user/gcompat/no-utmp.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/user/gcompat/no-utmp.patch b/user/gcompat/no-utmp.patch new file mode 100644 index 000000000..c5d2251b1 --- /dev/null +++ b/user/gcompat/no-utmp.patch @@ -0,0 +1,16 @@ +--- gcompat-0.3.0/libgcompat/utmp.c.old 2018-09-05 02:26:02.850000000 +0000 ++++ gcompat-0.3.0/libgcompat/utmp.c 2018-09-21 21:39:17.350000000 +0000 +@@ -1,12 +1,11 @@ + #include <stddef.h> /* NULL */ +-#include <utmp.h> /* struct utmp */ + + /** + * Get user accounting database entries. + * + * LSB 5.0: LSB-Core-generic/baselib-getutent-r-3.html + */ +-int getutent_r(struct utmp *buffer, struct utmp **result) ++int getutent_r(void *buffer, void **result) + { + /* musl does not implement getutent(). */ + *result = NULL; |