Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/nanomsg/
Date: Fri, 11 Jun 2021 06:46:16
Message-Id: 1623393966.8ebb0ead3a72690b55e7580b2ca41da6075b23d6.juippis@gentoo
1 commit: 8ebb0ead3a72690b55e7580b2ca41da6075b23d6
2 Author: Marco Scardovi <marco <AT> scardovi <DOT> com>
3 AuthorDate: Fri Jun 11 06:45:50 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 11 06:46:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ebb0ead
7
8 dev-libs/nanomsg: add 10 seconds on some tests
9
10 This should fix test om hppa
11
12 Package-Manager: Portage-3.0.19, Repoman-3.0.3
13 Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>
14 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
15
16 dev-libs/nanomsg/nanomsg-1.1.5.ebuild | 8 ++++++++
17 1 file changed, 8 insertions(+)
18
19 diff --git a/dev-libs/nanomsg/nanomsg-1.1.5.ebuild b/dev-libs/nanomsg/nanomsg-1.1.5.ebuild
20 index 34a834332b3..8e47be79d1b 100644
21 --- a/dev-libs/nanomsg/nanomsg-1.1.5.ebuild
22 +++ b/dev-libs/nanomsg/nanomsg-1.1.5.ebuild
23 @@ -17,6 +17,14 @@ IUSE="doc"
24
25 DEPEND="doc? ( dev-ruby/asciidoctor )"
26
27 +multilib_src_prepare() {
28 + eapply_user
29 + # Old CPUs like HPPA fails test because of timeout
30 + sed -i -e 's/inproc_shutdown 5/inproc_shutdown 10/' \
31 + -e 's/ws_async_shutdown 5/ws_async_shutdown 10/' \
32 + -e 's/ipc_shutdown 30/ipc_shutdown 40/' -i CMakeLists.txt || die
33 +}
34 +
35 multilib_src_configure() {
36 local mycmakeargs=(
37 -DNN_STATIC_LIB=OFF