elogind: update to 241.3.
This commit is contained in:
parent
9cc4dc6fc6
commit
f7bd99f80c
3 changed files with 3 additions and 29 deletions
|
@ -1,13 +0,0 @@
|
||||||
diff --git ./src/basic/fileio.c ./src/basic/fileio.c
|
|
||||||
index e981cd024..ffcbf7309 100644
|
|
||||||
--- ./src/basic/fileio.c
|
|
||||||
+++ ./src/basic/fileio.c
|
|
||||||
@@ -156,7 +156,7 @@ int write_string_file_ts(
|
|
||||||
goto fail;
|
|
||||||
}
|
|
||||||
|
|
||||||
- f = fdopen(fd, "w");
|
|
||||||
+ f = fdopen(fd, "we");
|
|
||||||
if (!f) {
|
|
||||||
r = -errno;
|
|
||||||
safe_close(fd);
|
|
|
@ -1,13 +0,0 @@
|
||||||
diff --git ./src/basic/cgroup-util.c ./src/basic/cgroup-util.c
|
|
||||||
index 9235361b6..11102790e 100644
|
|
||||||
--- ./src/basic/cgroup-util.c
|
|
||||||
+++ ./src/basic/cgroup-util.c
|
|
||||||
@@ -824,7 +824,7 @@ int cg_attach(const char *controller, const char *path, pid_t pid) {
|
|
||||||
|
|
||||||
xsprintf(c, PID_FMT "\n", pid);
|
|
||||||
|
|
||||||
- r = write_string_file(fs, c, WRITE_STRING_FILE_DISABLE_BUFFER);
|
|
||||||
+ r = write_string_file(fs, c, 0);
|
|
||||||
if (r < 0)
|
|
||||||
return r;
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'elogind'
|
# Template file for 'elogind'
|
||||||
pkgname=elogind
|
pkgname=elogind
|
||||||
version=241.2
|
version=241.3
|
||||||
revision=2
|
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
|
||||||
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
|
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
|
||||||
|
@ -17,7 +17,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
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=a6f741e73a0739a2f3ffbb936aa592e9873555f1a0b42a6f03cbf156c68c6065
|
checksum=d6a465479c8a629d49ea9374f6199b0c60e7e42eade0fcd8265fc37085386365
|
||||||
conf_files="/etc/elogind/logind.conf"
|
conf_files="/etc/elogind/logind.conf"
|
||||||
|
|
||||||
pre_check() {
|
pre_check() {
|
||||||
|
|
Loading…
Reference in a new issue