commit:     f7e0a4a73f31af17b4f453ce4be090e6e4abb22e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 14 23:56:37 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Feb 14 23:56:37 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e0a4a7

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 <asturm <AT> gentoo.org>

 sys-auth/elogind/elogind-239.3.ebuild              |  5 ++++-
 .../elogind/files/elogind-239.3-broken-test.patch  | 23 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/sys-auth/elogind/elogind-239.3.ebuild 
b/sys-auth/elogind/elogind-239.3.ebuild
index 3524b01a1b8..422cec062ea 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 00000000000..601d1cb964f
--- /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,

Reply via email to