From 68b79c38e88abfaea6f3e072706ce26279deed56 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 17 May 2017 16:38:04 +0200 Subject: [PATCH] elogind: update to 228.3. --- srcpkgs/elogind/patches/fix-musl.patch | 26 ++++++++++++++++++++++++++ srcpkgs/elogind/template | 4 ++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/elogind/patches/fix-musl.patch diff --git a/srcpkgs/elogind/patches/fix-musl.patch b/srcpkgs/elogind/patches/fix-musl.patch new file mode 100644 index 00000000000..34ce4c06175 --- /dev/null +++ b/srcpkgs/elogind/patches/fix-musl.patch @@ -0,0 +1,26 @@ +--- src/basic/stdio-util.h.orig 2017-05-16 08:19:59.761131676 +0200 ++++ src/basic/stdio-util.h 2017-05-16 08:19:49.802148925 +0200 +@@ -21,7 +21,9 @@ + along with systemd; If not, see . + ***/ + ++#ifdef __GLIBC__ + #include ++#endif + #include + #include + #include +--- src/basic/log.c.orig 2017-05-16 08:23:05.633809741 +0200 ++++ src/basic/log.c 2017-05-16 10:17:55.577021451 +0200 +@@ -21,7 +21,11 @@ + + #include + #include ++#ifdef __GLIBC__ + #include ++#else ++#include "parse-printf-format.h" ++#endif + #include + #include + #include diff --git a/srcpkgs/elogind/template b/srcpkgs/elogind/template index 4213edf2f65..f3909ac4160 100644 --- a/srcpkgs/elogind/template +++ b/srcpkgs/elogind/template @@ -1,6 +1,6 @@ # Template file for 'elogind' pkgname=elogind -version=227.4 +version=228.3 revision=1 build_style=gnu-configure hostmakedepends="automake libxslt intltool libtool pkg-config gperf docbook-xsl gettext-devel" @@ -11,7 +11,7 @@ maintainer="Enno Boland " license="GPL-2, LGPL-2, MIT" homepage="https://github.com/elogind/elogind" distfiles="https://github.com/$pkgname/$pkgname/archive/v$version.tar.gz" -checksum=44c26086b91a269de1457afd04416c874dd443ad5c3065ab974c2d9daf541892 +checksum=8bac23f97b73c8af24b351ed3062241704efa542de8fc44bfdb6783c5567ee60 conf_files="/etc/elogind/logind.conf" configure_args+=" --disable-kdbus --disable-lto"