commit:     c8dd6231490e0c68e2b918b792548de96ca518df
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 30 12:01:51 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Nov 30 12:07:55 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8dd6231

sys-auth/elogind: Disable broken test

Bug: https://bugs.gentoo.org/699116
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sys-auth/elogind/elogind-241.4.ebuild                  |  5 ++++-
 sys-auth/elogind/files/elogind-241.4-broken-test.patch | 15 +++++++++++++++
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/sys-auth/elogind/elogind-241.4.ebuild 
b/sys-auth/elogind/elogind-241.4.ebuild
index cddbbf19bea..92e7f7a4c11 100644
--- a/sys-auth/elogind/elogind-241.4.ebuild
+++ b/sys-auth/elogind/elogind-241.4.ebuild
@@ -48,7 +48,10 @@ PDEPEND="
 
 DOCS=( NEWS README.md src/libelogind/sd-bus/GVARIANT-SERIALIZATION )
 
-PATCHES=( "${FILESDIR}/${P}-nodocs.patch" )
+PATCHES=(
+       "${FILESDIR}/${P}-nodocs.patch"
+       "${FILESDIR}/${P}-broken-test.patch" # bug 699116
+)
 
 pkg_setup() {
        local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"

diff --git a/sys-auth/elogind/files/elogind-241.4-broken-test.patch 
b/sys-auth/elogind/files/elogind-241.4-broken-test.patch
new file mode 100644
index 00000000000..d2735825900
--- /dev/null
+++ b/sys-auth/elogind/files/elogind-241.4-broken-test.patch
@@ -0,0 +1,15 @@
+--- a/src/test/meson.build     2019-11-15 08:59:47.000000000 +0100
++++ b/src/test/meson.build     2019-11-30 13:04:45.051316140 +0100
+@@ -1014,9 +1014,9 @@
+ #          '', 'timeout=120'],
+ #endif // 0
+ 
+-        [['src/libelogind/sd-login/test-login.c'],
+-         [],
+-         []],
++#         [['src/libelogind/sd-login/test-login.c'],
++#          [],
++#          []],
+ 
+         [['src/libelogind/sd-device/test-sd-device.c'],
+          [],

Reply via email to