summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Scardovi <marco@scardovi.com>2021-06-11 09:45:50 +0300
committerJoonas Niilola <juippis@gentoo.org>2021-06-11 09:46:06 +0300
commit8ebb0ead3a72690b55e7580b2ca41da6075b23d6 (patch)
tree6bb215cb501c5c2979ffb29a84159159dc91a762 /dev-libs
parentnet-misc/ntpsec: add 1.2.1 (diff)
downloadgentoo-8ebb0ead3a72690b55e7580b2ca41da6075b23d6.tar.gz
gentoo-8ebb0ead3a72690b55e7580b2ca41da6075b23d6.tar.bz2
gentoo-8ebb0ead3a72690b55e7580b2ca41da6075b23d6.zip
dev-libs/nanomsg: add 10 seconds on some tests
This should fix test om hppa Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Marco Scardovi <marco@scardovi.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/nanomsg/nanomsg-1.1.5.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-libs/nanomsg/nanomsg-1.1.5.ebuild b/dev-libs/nanomsg/nanomsg-1.1.5.ebuild
index 34a834332b3b..8e47be79d1b3 100644
--- a/dev-libs/nanomsg/nanomsg-1.1.5.ebuild
+++ b/dev-libs/nanomsg/nanomsg-1.1.5.ebuild
@@ -17,6 +17,14 @@ IUSE="doc"
DEPEND="doc? ( dev-ruby/asciidoctor )"
+multilib_src_prepare() {
+ eapply_user
+ # Old CPUs like HPPA fails test because of timeout
+ sed -i -e 's/inproc_shutdown 5/inproc_shutdown 10/' \
+ -e 's/ws_async_shutdown 5/ws_async_shutdown 10/' \
+ -e 's/ipc_shutdown 30/ipc_shutdown 40/' -i CMakeLists.txt || die
+}
+
multilib_src_configure() {
local mycmakeargs=(
-DNN_STATIC_LIB=OFF