elogind: add missing patches.

This commit is contained in:
maxice8 2019-03-14 00:47:39 -03:00 committed by maxice8
parent def7b1bf23
commit 36ab06143f
3 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,16 @@
diff --git src/shared/musl_missing.h src/shared/musl_missing.h
index d42f03c34..127df2d33 100644
--- src/shared/musl_missing.h
+++ src/shared/musl_missing.h
@@ -64,10 +64,6 @@ extern char *program_invocation_short_name;
} ) )
#endif
-/* See http://man7.org/linux/man-pages/man3/canonicalize_file_name.3.html */
-#define canonicalize_file_name(path) \
- realpath(path, NULL)
-
/* GLOB_BRACE is another glibc extension - ignore it for musl libc */
#define GLOB_BRACE 0

View File

@ -0,0 +1,15 @@
diff --git src/shared/musl_missing.h src/shared/musl_missing.h
index d42f03c34..cb98836ac 100644
--- src/shared/musl_missing.h
+++ src/shared/musl_missing.h
@@ -68,9 +68,6 @@ extern char *program_invocation_short_name;
#define canonicalize_file_name(path) \
realpath(path, NULL)
-/* GLOB_BRACE is another glibc extension - ignore it for musl libc */
-#define GLOB_BRACE 0
-
/* getnameinfo(3) glibc extensions are undefined in musl libc */
#define NI_IDN 0
#define NI_IDN_USE_STD3_ASCII_RULES 0

View File

@ -1,7 +1,7 @@
# Template file for 'elogind' # Template file for 'elogind'
pkgname=elogind pkgname=elogind
version=241.1 version=241.1
revision=1 revision=2
build_style=meson build_style=meson
configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot -Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot