diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2021-10-06 18:06:23 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-06 18:17:06 +0200 |
commit | 73e5f335040ab412cb217dd6db339b8b17e3f5c8 (patch) | |
tree | c5fee53f64d075431f49321d4f4916625f06af63 /sci-libs | |
parent | dev-perl/USB-TMC: remove unused patch(es) (diff) | |
download | gentoo-73e5f335040ab412cb217dd6db339b8b17e3f5c8.tar.gz gentoo-73e5f335040ab412cb217dd6db339b8b17e3f5c8.tar.bz2 gentoo-73e5f335040ab412cb217dd6db339b8b17e3f5c8.zip |
sci-libs/pastix: remove unused patches
Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/pastix/files/pastix-5.2.2.22-isnan-floating-point-cast.patch | 47 | ||||
-rw-r--r-- | sci-libs/pastix/files/pastix-5.2.2.22-nosmp-undefined-variable.patch | 15 |
2 files changed, 0 insertions, 62 deletions
diff --git a/sci-libs/pastix/files/pastix-5.2.2.22-isnan-floating-point-cast.patch b/sci-libs/pastix/files/pastix-5.2.2.22-isnan-floating-point-cast.patch deleted file mode 100644 index 8aa7c06e5c93..000000000000 --- a/sci-libs/pastix/files/pastix-5.2.2.22-isnan-floating-point-cast.patch +++ /dev/null @@ -1,47 +0,0 @@ -Add missing cast to floating-point type: -* sopalin/src/variable_csc.c: In function ‘vcsc_add_node’: -* sopalin/src/variable_csc.c:138:13: error: non-floating-point argument in call to function ‘__builtin_isnan’ -* if (isnan(vcsc->values[COL-1][i*dof2 + ii])) { -See also: -https://bugs.gentoo.org/show_bug.cgi?id=580422 - ---- src/common/src/errors.h -+++ src/common/src/errors.h -@@ -140,7 +140,7 @@ - * expr - The value to check. - */ - #define CHECK_NAN(expr) { \ -- ASSERT_DEBUG(!isnan(expr), DBG_SOPALIN_NAN); \ -+ ASSERT_DEBUG(!isnan(((double) expr)), DBG_SOPALIN_NAN); \ - ASSERT_DEBUG(!isinf(expr), DBG_SOPALIN_INF); \ - } - #else ---- src/sopalin/src/variable_csc.c -+++ src/sopalin/src/variable_csc.c -@@ -135,7 +135,7 @@ - #endif - - for (ii = 0; ii < dof2; ii++) { -- if (isnan(vcsc->values[COL-1][i*dof2 + ii])) { -+ if (isnan(((double) vcsc->values[COL-1][i*dof2 + ii]))) { - vcsc->values[COL-1][i*dof2 + ii] = VALUE[ii]; - } else { - vcsc->values[COL-1][i*dof2 + ii] = op(vcsc->values[COL-1][i*dof2 + ii], -@@ -252,7 +252,7 @@ - vcsc->rows[COL_NODE][i]); - } - #endif -- if (isnan(vcsc->values[COL_NODE][idx])) { -+ if (isnan(((double) vcsc->values[COL_NODE][idx]))) { - vcsc->values[COL_NODE][idx] = VALUE; - } else { - vcsc->values[COL_NODE][idx] = op(vcsc->values[COL_NODE][idx], -@@ -660,7 +660,7 @@ - } else { - INTS iterdof; - for (iterdof = 0; iterdof < dof2; iterdof++) { -- if (!isnan(vcsc->values[MYCOL-1][dof2*iter2+iterdof])) { -+ if (!isnan(((double) vcsc->values[MYCOL-1][dof2*iter2+iterdof]))) { - /* ignore NaN values from VCSC */ - (*values_o)[dof2*iter3+iterdof] = op( - (*values_o)[dof2*iter3+iterdof], diff --git a/sci-libs/pastix/files/pastix-5.2.2.22-nosmp-undefined-variable.patch b/sci-libs/pastix/files/pastix-5.2.2.22-nosmp-undefined-variable.patch deleted file mode 100644 index c01b02bb8f72..000000000000 --- a/sci-libs/pastix/files/pastix-5.2.2.22-nosmp-undefined-variable.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- ./sopalin/src/updo.c.orig 2016-02-23 01:42:00.000000000 +0000 -+++ ./sopalin/src/updo.c 2016-02-23 01:42:10.000000000 +0000 -@@ -940,8 +940,10 @@ - i = TASK_CBLKNUM(i); - # define END_LOOP(a) } SMP_END_LOOP(a) - # else /* SMP_SOPALIN */ --# define START_LOOP for (i=0;i<SYMB_CBLKNBR;i++) --# define END_LOOP -+# define START_LOOP \ -+ int bubnum = me; \ -+ for (i=0;i<SYMB_CBLKNBR;i++) -+# define END_LOOP(a) a - # endif - - /* Xi=(Dii)-1Xi; */ |