From f7e0a4a73f31af17b4f453ce4be090e6e4abb22e Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Fri, 15 Feb 2019 00:56:37 +0100 Subject: [PATCH] sys-auth/elogind: Disable broken test Bug: https://bugs.gentoo.org/669862 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner --- sys-auth/elogind/elogind-239.3.ebuild | 5 +++- .../files/elogind-239.3-broken-test.patch | 23 +++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 sys-auth/elogind/files/elogind-239.3-broken-test.patch diff --git a/sys-auth/elogind/elogind-239.3.ebuild b/sys-auth/elogind/elogind-239.3.ebuild index 3524b01a1b83..422cec062ea6 100644 --- a/sys-auth/elogind/elogind-239.3.ebuild +++ b/sys-auth/elogind/elogind-239.3.ebuild @@ -41,7 +41,10 @@ PDEPEND=" DOCS=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION ) -PATCHES=( "${FILESDIR}/${PN}-238.1-docs.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-238.1-docs.patch" + "${FILESDIR}/${P}-broken-test.patch" # bug 669862 +) pkg_setup() { local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD" diff --git a/sys-auth/elogind/files/elogind-239.3-broken-test.patch b/sys-auth/elogind/files/elogind-239.3-broken-test.patch new file mode 100644 index 000000000000..601d1cb964fb --- /dev/null +++ b/sys-auth/elogind/files/elogind-239.3-broken-test.patch @@ -0,0 +1,23 @@ +--- a/src/test/meson.build 2018-12-07 07:36:50.000000000 +0100 ++++ b/src/test/meson.build 2019-02-15 00:50:23.254064681 +0100 +@@ -947,13 +947,13 @@ + # [['src/libsystemd/sd-resolve/test-resolve.c'], + # [], + # [threads]], +-#endif // 0 +- +- [['src/libelogind/sd-login/test-login.c'], +- [], +- []], +- +-#if 0 /// UNNEEDED in elogind ++# ++# ++# [['src/libelogind/sd-login/test-login.c'], ++# [], ++# []], ++# ++# + # [['src/libsystemd/sd-device/test-udev-device-thread.c'], + # [libbasic, + # libshared_static, -- 2.26.2