summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-11-03 19:48:44 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-11-03 19:49:57 -0700
commit678a6fa4106e18456ed9dadb6814a673de81fb32 (patch)
tree3689c4dfbd1f263af8d8da8fcd04ced7f2c1170c /net-mail
parentdev-util/gn: keyword ~riscv (diff)
downloadgentoo-678a6fa4106e18456ed9dadb6814a673de81fb32.tar.gz
gentoo-678a6fa4106e18456ed9dadb6814a673de81fb32.tar.bz2
gentoo-678a6fa4106e18456ed9dadb6814a673de81fb32.zip
net-mail/notmuch: add GMime sandbox violation workaround
Checking for GMime session key extraction support... * ACCESS DENIED: open_wr: /dev/bus/usb/001/011 notmuch configure compiles a program _check_session_keys.c, inline in ./configure script gmime/gpg/scdaemon tries to open usb devices in GMime test we pretend to allow it, without actually allowing it to read or write. Bug: https://bugs.gentoo.org/821328 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/notmuch/notmuch-0.33.2.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/net-mail/notmuch/notmuch-0.33.2.ebuild b/net-mail/notmuch/notmuch-0.33.2.ebuild
index 4cc225e3c559..873e974b8152 100644
--- a/net-mail/notmuch/notmuch-0.33.2.ebuild
+++ b/net-mail/notmuch/notmuch-0.33.2.ebuild
@@ -142,6 +142,14 @@ src_configure() {
$(use_with emacs)
)
+ # FIXME:
+ # Checking for GMime session key extraction support... * ACCESS DENIED: open_wr: /dev/bus/usb/001/011
+ # notmuch configure compiles a program _check_session_keys.c, inline in ./configure script
+ # gmime/gpg/scdaemon tries to open usb devices in GMime test
+ # we pretend to allow it, without actually allowing it to read or write.
+ # https://bugs.gentoo.org/821328
+ addpredict /dev/bus/usb
+
econf "${myconf[@]}"
}