diff --git a/Restore_missing_deprecated_prototypes.patch b/Restore_missing_deprecated_prototypes.patch index 9c0fb4e..eef4761 100644 --- a/Restore_missing_deprecated_prototypes.patch +++ b/Restore_missing_deprecated_prototypes.patch @@ -11,10 +11,10 @@ Closes #365 LAPACKE/include/lapack.h | 100 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) -diff --git a/LAPACKE/include/lapack.h b/LAPACKE/include/lapack.h -index 3f425325f..5c131d844 100644 ---- a/LAPACKE/include/lapack.h -+++ b/LAPACKE/include/lapack.h +Index: lapack-3.9.0/LAPACKE/include/lapack.h +=================================================================== +--- lapack-3.9.0.orig/LAPACKE/include/lapack.h ++++ lapack-3.9.0/LAPACKE/include/lapack.h @@ -1842,6 +1842,28 @@ void LAPACK_zgeqlf( lapack_complex_double* work, lapack_int const* lwork, lapack_int* info ); diff --git a/lapack-fix-syntax.patch b/lapack-fix-syntax.patch new file mode 100644 index 0000000..090663d --- /dev/null +++ b/lapack-fix-syntax.patch @@ -0,0 +1,25 @@ +From 64e8a7500d817869e5fcde35afd39af8bc7a8086 Mon Sep 17 00:00:00 2001 +From: Iain Hibbert +Date: Sun, 23 Feb 2020 21:39:25 +0000 +Subject: [PATCH] remove extraneous semicolon + +this semicolon causes a test to fail with read error, using g95 +--- + TESTING/dbal.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/TESTING/dbal.in b/TESTING/dbal.in +index c00fe3e83..828629b15 100644 +--- a/TESTING/dbal.in ++++ b/TESTING/dbal.in +@@ -209,6 +209,6 @@ DBL: Tests DGEBAL + 0.00000000000000000000D+00 0.00000000000000000000D+00 0.00000000000000000000D+00 0.63043209914231165391D-03 0.10000000000000000000D+01 0.79310682416114036641D+03 + 0.00000000000000000000D+00 0.00000000000000000000D+00 0.00000000000000000000D+00 0.00000000000000000000D+00 0.12608641982846233078D-02 0.10000000000000000000D+01 + +- 2.494800386918399765D+291 1.582914569427869018D+175 1.004336277661868922D+59 3.186183822264904554D-58 5.053968264940243633D-175 0.40083367200179455560D-291; ++ 2.494800386918399765D+291 1.582914569427869018D+175 1.004336277661868922D+59 3.186183822264904554D-58 5.053968264940243633D-175 0.40083367200179455560D-291 + + 0 +-- +2.43.0 + diff --git a/lapack.changes b/lapack.changes index 7febb06..a32d5ad 100644 --- a/lapack.changes +++ b/lapack.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 29 14:41:24 UTC 2024 - Marcus Meissner + +- lapack-fix-syntax.patch: fix syntax error to make testsuite run. + ------------------------------------------------------------------- Thu May 4 11:11:20 UTC 2023 - Dominique Leuenberger diff --git a/lapack.spec b/lapack.spec index fa634c4..d706ad9 100644 --- a/lapack.spec +++ b/lapack.spec @@ -43,6 +43,8 @@ Patch4: Avoid-out-of-bounds-accesses-in-complex-EIG-tests.patch Patch5: Fix-out-of-bounds-read.patch # PATCH-FIX-UPSTREAM Patch6: https://github.com/Reference-LAPACK/lapack/commit/87536aa3c8bb.patch#/Restore_missing_deprecated_prototypes.patch +# PATCH-FIX-UPSTREAM +Patch7: https://github.com/Reference-LAPACK/lapack/commit/64e8a7500d817869e5fcde35afd39af8bc7a8086.patch#/lapack-fix-syntax.patch BuildRequires: gcc-fortran BuildRequires: python3-base