summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2022-07-21 08:30:48 -0500
committerBen Kohler <bkohler@gentoo.org>2022-07-21 08:31:58 -0500
commit1094e45a73df9f21d7722ade484141b9787731c5 (patch)
treee717aed70a35bc5cfc2badde406403586bbfc1b7 /dev-libs/ell
parentapp-office/libreoffice-l10n: add 7.3.5.2 (diff)
downloadgentoo-1094e45a73df9f21d7722ade484141b9787731c5.tar.gz
gentoo-1094e45a73df9f21d7722ade484141b9787731c5.tar.bz2
gentoo-1094e45a73df9f21d7722ade484141b9787731c5.zip
dev-libs/ell: use random name for test socket
Closes: https://bugs.gentoo.org/859538 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'dev-libs/ell')
-rw-r--r--dev-libs/ell/ell-0.51.ebuild2
-rw-r--r--dev-libs/ell/ell-0.52.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/dev-libs/ell/ell-0.51.ebuild b/dev-libs/ell/ell-0.51.ebuild
index 946a72c8ea24..a1ef12c741f4 100644
--- a/dev-libs/ell/ell-0.51.ebuild
+++ b/dev-libs/ell/ell-0.51.ebuild
@@ -39,6 +39,8 @@ PATCHES=(
src_prepare() {
default
+ sed -i -e "s#/tmp/ell-test-bus#/tmp/ell-test-bus-$(uuidgen)#" \
+ unit/test-dbus*.c unit/dbus.conf || die
[[ "${PV}" == *9999 ]] && eautoreconf
}
diff --git a/dev-libs/ell/ell-0.52.ebuild b/dev-libs/ell/ell-0.52.ebuild
index 56c48e4f83d1..50ed0735d11b 100644
--- a/dev-libs/ell/ell-0.52.ebuild
+++ b/dev-libs/ell/ell-0.52.ebuild
@@ -35,6 +35,8 @@ CONFIG_CHECK="
src_prepare() {
default
+ sed -i -e "s#/tmp/ell-test-bus#/tmp/ell-test-bus-$(uuidgen)#" \
+ unit/test-dbus*.c unit/dbus.conf || die
[[ "${PV}" == *9999 ]] && eautoreconf
}