elogind: update to 239.4.

This commit is contained in:
Rasmus Thomsen 2019-03-10 17:00:08 +01:00 committed by maxice8
parent f52d78366d
commit 84a63bad87
2 changed files with 3 additions and 14 deletions

View File

@ -1,11 +0,0 @@
--- src/systemd/sd-event.h
+++ src/systemd/sd-event.h
@@ -71,7 +71,7 @@
typedef int (*sd_event_io_handler_t)(sd_event_source *s, int fd, uint32_t revents, void *userdata);
typedef int (*sd_event_time_handler_t)(sd_event_source *s, uint64_t usec, void *userdata);
typedef int (*sd_event_signal_handler_t)(sd_event_source *s, const struct signalfd_siginfo *si, void *userdata);
-#if defined _GNU_SOURCE || _POSIX_C_SOURCE >= 199309L
+#if defined _GNU_SOURCE || (defined _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 199309L)
typedef int (*sd_event_child_handler_t)(sd_event_source *s, const siginfo_t *si, void *userdata);
#else
typedef void* sd_event_child_handler_t;

View File

@ -1,7 +1,7 @@
# Template file for 'elogind'
pkgname=elogind
version=239.3
revision=3
version=239.4
revision=1
build_style=meson
configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
@ -16,7 +16,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="https://github.com/elogind/elogind"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=fde2791134ec14f17f7a5f0257c7337e4976826ce6ce86da7eedae54bccf2945
checksum=676194b40fdbdb4f94b96ce22c423e95d1412f518488fc27f8258386277b3b47
conf_files="/etc/elogind/logind.conf"
pre_check() {