summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-auth/elogind/elogind-239.3.ebuild5
-rw-r--r--sys-auth/elogind/files/elogind-239.3-broken-test.patch23
2 files changed, 27 insertions, 1 deletions
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,