mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
elogind: update to 238.1.
This commit is contained in:
parent
1a2456d0d7
commit
2739c66207
2 changed files with 3 additions and 37 deletions
|
@ -1,34 +0,0 @@
|
||||||
Source: maxice8
|
|
||||||
Upstream: https://github.com/elogind/elogind/pull/57
|
|
||||||
Reason: add missing FTW_* macros for musl libc based systems
|
|
||||||
|
|
||||||
--- src/shared/musl_missing.h
|
|
||||||
+++ src/shared/musl_missing.h
|
|
||||||
@@ -107,6 +107,27 @@ typedef __compar_fn_t comparison_fn_t;
|
|
||||||
*/
|
|
||||||
#define __register_atfork(prepare,parent,child,dso) pthread_atfork(prepare,parent,child)
|
|
||||||
|
|
||||||
+/*
|
|
||||||
+ * Missing FTW macros in musl, define them if not defined
|
|
||||||
+ * taken from
|
|
||||||
+ * https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/systemd/systemd/0028-add-missing-FTW_-macros-for-musl.patch
|
|
||||||
+ */
|
|
||||||
+#ifndef FTW_ACTIONRETVAL
|
|
||||||
+#define FTW_ACTIONRETVAL 16
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#ifndef FTW_CONTINUE
|
|
||||||
+#define FTW_CONTINUE 0
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#ifndef FTW_STOP
|
|
||||||
+#define FTW_STOP 1
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#ifndef FTW_SKIP_SUBTREE
|
|
||||||
+#define FTW_SKIP_SUBTREE 2
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#endif // !defined(__GLIBC__)
|
|
||||||
|
|
||||||
#endif // ELOGIND_BASIC_MUSL_MISSING_H_INCLUDED
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'elogind'
|
# Template file for 'elogind'
|
||||||
pkgname=elogind
|
pkgname=elogind
|
||||||
version=236.1
|
version=238.1
|
||||||
revision=1
|
revision=1
|
||||||
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
|
||||||
|
@ -15,8 +15,8 @@ short_desc="Standalone logind fork"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
||||||
homepage="https://github.com/elogind/elogind"
|
homepage="https://github.com/elogind/elogind"
|
||||||
distfiles="https://github.com/$pkgname/$pkgname/archive/v$version.tar.gz"
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=391fdb66d97983827e30e7e518f822c96eadb29d5e54092c3cd348dfb3a7a3b6
|
checksum=b0416c4194198f6af71f5ffb3b3d5d8f20e446acb80699eb4e8df3f79dd18acf
|
||||||
conf_files="/etc/elogind/logind.conf"
|
conf_files="/etc/elogind/logind.conf"
|
||||||
|
|
||||||
pre_check() {
|
pre_check() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue