mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sys-cluster/mpich: fix test double serializer; drop non-tree dep
Closes: https://bugs.gentoo.org/928317 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Part-of: https://github.com/gentoo/gentoo/pull/44391 Closes: https://github.com/gentoo/gentoo/pull/44391 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
f85092008e
commit
cb284f45ae
@@ -0,0 +1,26 @@
|
||||
Upstream json-c patch with modified path
|
||||
Mpich upstream issue: https://github.com/pmodels/mpich/issues/7130
|
||||
Gentoo issue: https://bugs.gentoo.org/928317
|
||||
|
||||
From 79ad1c9b9fcc846e6bc31f47b801d11ba6d8613a Mon Sep 17 00:00:00 2001
|
||||
From: Björn Esser <besser82@fedoraproject.org>
|
||||
Date: Mon, 18 May 2020 11:38:36 +0200
|
||||
Subject: [PATCH] tests: Fix test_double_serializer without thread-local
|
||||
storage.
|
||||
|
||||
---
|
||||
tests/test_double_serializer.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/tests/test_double_serializer.c b/tests/test_double_serializer.c
|
||||
index bad7ef559e..53727eb856 100644
|
||||
--- a/modules/json-c/tests/test_double_serializer.c
|
||||
+++ b/modules/json-c/tests/test_double_serializer.c
|
||||
@@ -58,6 +58,7 @@ int main()
|
||||
#else
|
||||
// Just fake it up, so the output matches.
|
||||
printf("obj.to_string(with thread format)=%s\n", "T0.52X");
|
||||
+ printf("obj.to_string(long thread format)=%s\n", "Ttttttttttttt0.52xxxxxxxxxxxxxxxxxxX");
|
||||
printf("obj.to_string(back to global format)=%s\n", "x0.524y");
|
||||
#endif
|
||||
if (json_c_set_serialization_double_format(NULL, JSON_C_OPTION_GLOBAL) < 0)
|
||||
@@ -34,7 +34,6 @@ DEPEND="
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
!sys-cluster/mpich2
|
||||
!sys-cluster/openmpi
|
||||
!sys-cluster/nullmpi
|
||||
"
|
||||
@@ -45,9 +44,9 @@ MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/opa_config.h
|
||||
)
|
||||
|
||||
#PATCHES=(
|
||||
# "${FILESDIR}"/${PN}-3.3-add-external-libdir-parameter.patch
|
||||
#)
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}_fix_test_double_serializer.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
Reference in New Issue
Block a user