public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/json-parser/
Date: Thu, 18 Aug 2022 18:43:17 +0000 (UTC)	[thread overview]
Message-ID: <1660848133.d6cecbf80a1279b77eaefb9f2b8fb213d77a6a90.sam@gentoo> (raw)

commit:     d6cecbf80a1279b77eaefb9f2b8fb213d77a6a90
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Thu Aug 18 08:14:33 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 18 18:42:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6cecbf8

dev-libs/json-parser: fix tests

It is necessary to link the test with libm.

Fixes: 3d84addb0089 ("dev-libs/json-parser: new package, add 1.1.0_p20211208")
Closes: https://bugs.gentoo.org/865669
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/26908
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/json-parser/json-parser-1.1.0_p20211208.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/json-parser/json-parser-1.1.0_p20211208.ebuild b/dev-libs/json-parser/json-parser-1.1.0_p20211208.ebuild
index a551d83b795c..6fd9ed14039b 100644
--- a/dev-libs/json-parser/json-parser-1.1.0_p20211208.ebuild
+++ b/dev-libs/json-parser/json-parser-1.1.0_p20211208.ebuild
@@ -68,7 +68,7 @@ python_test() {
 }
 
 src_test() {
-	edo $(tc-getCC) ${CFLAGS} -I. ${CPPFLAGS} ${LDFLAGS} -o tests/test tests/test.c json.o
+	edo $(tc-getCC) ${CFLAGS} -I. ${CPPFLAGS} ${LDFLAGS} -o tests/test tests/test.c json.o -lm
 	pushd tests > /dev/null || die
 	edo ./test
 	use python && distutils-r1_src_test


             reply	other threads:[~2022-08-18 18:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-18 18:43 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-20  0:22 [gentoo-commits] repo/gentoo:master commit in: dev-libs/json-parser/ Yixun Lan
2022-08-20  3:47 Sam James
2022-08-20  7:03 Arthur Zamarin
2022-08-20  7:03 Arthur Zamarin
2022-08-23 18:10 Arthur Zamarin
2022-08-30  8:37 Jakov Smolić
2022-09-30 15:22 Agostino Sarubbo
2022-09-30 15:23 Agostino Sarubbo
2022-09-30 15:24 Agostino Sarubbo
2022-11-24 12:00 WANG Xuerui
2023-06-02  2:39 Sam James
2023-06-02  2:39 Sam James
2023-06-02  2:39 Sam James
2024-02-20  9:08 Petr Vaněk
2024-02-20  9:08 Petr Vaněk
2024-02-20  9:08 Petr Vaněk
2024-05-22  8:54 Petr Vaněk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1660848133.d6cecbf80a1279b77eaefb9f2b8fb213d77a6a90.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox