summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-31 15:15:20 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-31 15:16:45 +0100
commit1d6901d982beb2721dd2a6f8a400baa58f7c8f57 (patch)
tree7fbc5093120a738b31a39232438c4a05d889a837
parentsys-fs/btrfs-progs: Synced live ebuild. (diff)
downloadgentoo-1d6901d9.tar.gz
gentoo-1d6901d9.tar.bz2
gentoo-1d6901d9.zip
sys-auth/elogind: Disable broken test
Closes: https://bugs.gentoo.org/645156 Package-Manager: Portage-2.3.21, Repoman-2.3.6
-rw-r--r--sys-auth/elogind/elogind-235.2-r1.ebuild1
-rw-r--r--sys-auth/elogind/files/elogind-235.2-drop-logintest.patch17
2 files changed, 18 insertions, 0 deletions
diff --git a/sys-auth/elogind/elogind-235.2-r1.ebuild b/sys-auth/elogind/elogind-235.2-r1.ebuild
index 59b037e8e3f0..f2e8d0611a39 100644
--- a/sys-auth/elogind/elogind-235.2-r1.ebuild
+++ b/sys-auth/elogind/elogind-235.2-r1.ebuild
@@ -42,6 +42,7 @@ PDEPEND="
PATCHES=(
"${FILESDIR}/${PN}-235.1-docs.patch"
"${FILESDIR}/${P}-legacy-cgroupmode.patch"
+ "${FILESDIR}/${P}-drop-logintest.patch" # bug 645156
)
pkg_setup() {
diff --git a/sys-auth/elogind/files/elogind-235.2-drop-logintest.patch b/sys-auth/elogind/files/elogind-235.2-drop-logintest.patch
new file mode 100644
index 000000000000..45f17f1b843a
--- /dev/null
+++ b/sys-auth/elogind/files/elogind-235.2-drop-logintest.patch
@@ -0,0 +1,17 @@
+--- a/src/test/meson.build 2018-01-15 20:34:18.000000000 +0100
++++ b/src/test/meson.build 2018-01-31 15:11:33.342989914 +0100
+@@ -868,10 +868,10 @@
+ # [],
+ # [threads]],
+ #endif // 0
+-
+- [['src/libelogind/sd-login/test-login.c'],
+- [],
+- []],
++# Broken in chroot; needs elogind at runtime?
++# [['src/libelogind/sd-login/test-login.c'],
++# [],
++# []],
+ ]
+
+ #if 0 /// UNNEEDED in elogind