sys-auth/elogind: Disable broken test
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 14 Feb 2019 23:56:37 +0000 (00:56 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 14 Feb 2019 23:56:37 +0000 (00:56 +0100)
Bug: https://bugs.gentoo.org/669862
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
sys-auth/elogind/elogind-239.3.ebuild
sys-auth/elogind/files/elogind-239.3-broken-test.patch [new file with mode: 0644]

index 3524b01a1b831182fa58ab64363bb08bf4c22708..422cec062ea632432aff861a432b1dc218f37ce0 100644 (file)
@@ -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 (file)
index 0000000..601d1cb
--- /dev/null
@@ -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,