commit:     73e5f335040ab412cb217dd6db339b8b17e3f5c8
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Oct  6 16:06:23 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Oct  6 16:17:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73e5f335

sci-libs/pastix: remove unused patches

Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 ...pastix-5.2.2.22-isnan-floating-point-cast.patch | 47 ----------------------
 .../pastix-5.2.2.22-nosmp-undefined-variable.patch | 15 -------
 2 files changed, 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 8aa7c06e5c9..00000000000
--- 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 c01b02bb8f7..00000000000
--- 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; */

Reply via email to