elogind: add missing patches.
This commit is contained in:
parent
def7b1bf23
commit
36ab06143f
|
@ -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
|
||||
|
||||
|
|
@ -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
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'elogind'
|
||||
pkgname=elogind
|
||||
version=241.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meson
|
||||
configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
|
||||
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
|
||||
|
|
Loading…
Reference in New Issue