pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   thor
Date:           Sat Feb 28 08:38:01 UTC 2026

Modified Files:
        pkgsrc/doc: CHANGES-2026 TODO
        pkgsrc/math/blas: PLIST
        pkgsrc/math/blas64: PLIST
        pkgsrc/math/cblas: PLIST
        pkgsrc/math/cblas64: PLIST
        pkgsrc/math/lapack: PLIST distinfo version.mk
        pkgsrc/math/lapack/patches: patch-CMakeLists.txt
        pkgsrc/math/lapack64: PLIST
        pkgsrc/math/lapacke: PLIST
        pkgsrc/math/lapacke64: PLIST
Added Files:
        pkgsrc/math/lapack/patches: patch-SRC_DEPRECATED_cgelqs.f
            patch-SRC_DEPRECATED_cgelsx.f patch-SRC_DEPRECATED_cgeqrs.f
            patch-SRC_DEPRECATED_dgelqs.f patch-SRC_DEPRECATED_dgeqpf.f
            patch-SRC_DEPRECATED_dgeqrs.f patch-SRC_DEPRECATED_dlahrd.f
            patch-SRC_DEPRECATED_sgelqs.f patch-SRC_DEPRECATED_sgeqpf.f
            patch-SRC_DEPRECATED_sgeqrs.f patch-SRC_DEPRECATED_zgelqs.f
            patch-SRC_DEPRECATED_zgeqrs.f

Log Message:
lapack and derived packages: update to 3.12.1

What’s Changed

    Enables Fortran before including CheckFortranFunctionExists in CMakeL… by @weslleyspereira in 948

    Fixes for the NAG Fortran compiler by @ACSimon33 inhttps://github.com/Reference-LAPACK/lapack/pull/951[951]

    Fixed HAS_ATTRIBUTE_WEAK_SUPPORT flag for CBLAS objects by @ACSimon33 in 950

    Fixed memory leak in testing framework by @ACSimon33 in 953

    Fixed search phrase for determining the amount of successful tests by @ACSimon33 in 954

    handle and document corner cases of lwork in lapack by @dklyuchinskiy in 942

    fix some DMD issues by @dklyuchinskiy in 959

    Remove executable permissions from source files by @turboencabulator in 970

    CMake: restore compatibility with v3.10 and older by @christoph-conrads in 976

    Re-sync Doxyfile with CMake by @turboencabulator in 978

    Fix Doxygen warnings by @turboencabulator in 979

    {C,Z}LARFGP: re-scale input vector more often by @christoph-conrads in 981

    Typo by @FrK5E in 984

    Add Index-64 API as extended API with _64 suffix for LAPACKE by @mkrainiuk in 888

    Two small fixes of bdsqr by @angsch in 989

    xGEDMD(Q): silence warning with 64-bit integers by @christoph-conrads in 993

    xSY/HEEVR: clarify use of multiple algorithms by @christoph-conrads inhttps://github.com/Reference-LAPACK/lapack/pull/998[998]

    fix comments by @jip in 1004

    fix comments by @jip in 1007

    #1008 Allow installing binaries to subdirectory while keeping CMake package scripts in the same place by @lepus2589 in 1009

    fix LARFB documentation, #1011 by @EduardFedorenkov in 1016

    fix out-of-bounds access in orhr_col by @mgates3 in 1018

    Allow User Configuration of RPATH Settings by @ahnaf-tahmid-chowdhury in 1002

    changing the order of loop to improve performance by @Goddan-wq in 1023

    Use more modern CMake by @ACSimon33 in 1022

    Fix infinite loop when an error occurs in tests ddrvst and sdrvst by @cenewcombe in 1024

    Configurable type of hidden Fortran strlen arguments by @ACSimon33 in 1025

    develop DLARF1F and implement in ORM2R, #1011 by @EduardFedorenkov in 1019

    Fix the wrong implementation of the new tests for xblat1.f by @cdluminate in 964

    Implementation of dorm2r and dlarf1f by @jprhyne in 1020

    Fix lto type mismatch by @ACSimon33 in 1027

    Fix NAG Fortran compiler flag by @ACSimon33 in 1028

    align documentation of BDSQR workspace with code by @dklyuchinskiy in 1029

    Fixed usage of uninitialized variables in TESTING by @ACSimon33 in 961

    fix few typos and sytrd boundary workspace by @dklyuchinskiy in 1030

    Implement xGEMMTR and cblas_xGEMMTR by @grisuthedragon in 887

    Prevent compilers from using FMA instructions by @ACSimon33 in 1033

    Clarify documentation of singularity/rank-deficiency checks by @TiborGY in 924

    PR contains bug fixes found in ?tfsm (triangular solve for a RFP matrix) by @sergey-v-kuznetsov in 1042

    Remove CMake < 3 CMP0042 workarounds by @haampie in 1040

    Declare project dependency on C to avoid the CMAKE default of C,C++ by @martin-frbg in 1044

    DOC:trsly3: Add dtrsyl3/strsyl3 grouping statements by @ilayn in 1051

    Add a few forgotten API_SUFFIX wrappers in the recently changed LAPACKE ?TFSM by @martin-frbg in 1046

    Revert "Add a few forgotten API_SUFFIX wrappers in the recently changed LAPACKE ?TFSM" by @langou in 1058

    Revert "Revert "Add a few forgotten API_SUFFIX wrappers in the recently changed LAPACKE ?TFSM"" by @weslleyspereira in 1059

    CI: Update the MacOS jobs to use gcc-14 in github workflows by @martin-frbg in 1045

    fix leading dimension for matrix B in test routine get52 by @dklyuchinskiy in 1064

    Remove comparison as these conditions are never true by @schnorr in 1062

    Use GEMMTR for SY/HE linear updates by @angsch in 1069

    [Github workflow] Bump scorecard version by @angsch in 1071

    updating gitignore to ignore the mod files when we compile by @jprhyne in 1082

    Fixing misspelling of triangular in {s,d,c,z}gemmtr.f by @jprhyne in 1081

    Fix line lengths for the extended API by @hjjvandam in 1079

    Adding a recursive xLARFT by @jprhyne in 1080


To generate a diff of this commit:
cvs rdiff -u -r1.1440 -r1.1441 pkgsrc/doc/CHANGES-2026
cvs rdiff -u -r1.26871 -r1.26872 pkgsrc/doc/TODO
cvs rdiff -u -r1.8 -r1.9 pkgsrc/math/blas/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/blas64/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/cblas/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/math/cblas64/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/math/lapack/PLIST
cvs rdiff -u -r1.37 -r1.38 pkgsrc/math/lapack/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/lapack/version.mk
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/lapack/patches/patch-CMakeLists.txt
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_cgelqs.f \
    pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_cgelsx.f \
    pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_cgeqrs.f \
    pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dgelqs.f \
    pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dgeqpf.f \
    pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dgeqrs.f \
    pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dlahrd.f \
    pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_sgelqs.f \
    pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_sgeqpf.f \
    pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_sgeqrs.f \
    pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_zgelqs.f \
    pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_zgeqrs.f
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/lapack64/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/lapacke/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/lapacke64/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/doc/CHANGES-2026
diff -u pkgsrc/doc/CHANGES-2026:1.1440 pkgsrc/doc/CHANGES-2026:1.1441
--- pkgsrc/doc/CHANGES-2026:1.1440      Sat Feb 28 06:59:05 2026
+++ pkgsrc/doc/CHANGES-2026     Sat Feb 28 08:37:59 2026
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2026,v 1.1440 2026/02/28 06:59:05 pin Exp $
+$NetBSD: CHANGES-2026,v 1.1441 2026/02/28 08:37:59 thor Exp $
 
 Changes to the packages collection and infrastructure in 2026:
 
@@ -1946,3 +1946,11 @@ Changes to the packages collection and i
        Updated net/ttl to 0.19.0 [pin 2026-02-28]
        Updated shells/oh-my-posh to 29.7.0 [pin 2026-02-28]
        Updated textproc/treemd to 0.5.7 [pin 2026-02-28]
+       Updated math/blas to 3.12.1 [thomas-uhh 2026-02-28]
+       Updated math/blas64 to 3.12.1 [thomas-uhh 2026-02-28]
+       Updated math/lapack to 3.12.1 [thomas-uhh 2026-02-28]
+       Updated math/lapack64 to 3.12.1 [thomas-uhh 2026-02-28]
+       Updated math/cblas to 3.12.1 [thomas-uhh 2026-02-28]
+       Updated math/cblas64 to 3.12.1 [thomas-uhh 2026-02-28]
+       Updated math/lapacke to 3.12.1 [thomas-uhh 2026-02-28]
+       Updated math/lapacke64 to 3.12.1 [thomas-uhh 2026-02-28]

Index: pkgsrc/doc/TODO
diff -u pkgsrc/doc/TODO:1.26871 pkgsrc/doc/TODO:1.26872
--- pkgsrc/doc/TODO:1.26871     Sat Feb 28 02:09:04 2026
+++ pkgsrc/doc/TODO     Sat Feb 28 08:37:59 2026
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.26871 2026/02/28 02:09:04 ryoon Exp $
+$NetBSD: TODO,v 1.26872 2026/02/28 08:37:59 thor Exp $
 
 Suggested new packages
 ======================
@@ -820,7 +820,6 @@ For possible Perl packages updates, see 
        o kqtquickcharts4-20.12.3
        o kronolith-4.2.14
        o ktorrent3-3.3.4
-       o lapack-3.12.1
        o latexmk-486
        o lbdb-49
        o lcc-4.2

Index: pkgsrc/math/blas/PLIST
diff -u pkgsrc/math/blas/PLIST:1.8 pkgsrc/math/blas/PLIST:1.9
--- pkgsrc/math/blas/PLIST:1.8  Tue Jan 14 11:41:34 2025
+++ pkgsrc/math/blas/PLIST      Sat Feb 28 08:38:01 2026
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.8 2025/01/14 11:41:34 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2026/02/28 08:38:01 thor Exp $
 lib/libblas.so
 lib/libblas.so.3
-lib/libblas.so.3.12.0
+lib/libblas.so.${PKGVERSION}
 lib/pkgconfig/blas.pc

Index: pkgsrc/math/blas64/PLIST
diff -u pkgsrc/math/blas64/PLIST:1.3 pkgsrc/math/blas64/PLIST:1.4
--- pkgsrc/math/blas64/PLIST:1.3        Tue Jan 14 11:41:34 2025
+++ pkgsrc/math/blas64/PLIST    Sat Feb 28 08:38:01 2026
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2025/01/14 11:41:34 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/02/28 08:38:01 thor Exp $
 lib/libblas64.so
 lib/libblas64.so.3
-lib/libblas64.so.3.12.0
+lib/libblas64.so.${PKGVERSION}
 lib/pkgconfig/blas64.pc

Index: pkgsrc/math/cblas/PLIST
diff -u pkgsrc/math/cblas/PLIST:1.6 pkgsrc/math/cblas/PLIST:1.7
--- pkgsrc/math/cblas/PLIST:1.6 Tue Jan 14 11:41:34 2025
+++ pkgsrc/math/cblas/PLIST     Sat Feb 28 08:38:01 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2025/01/14 11:41:34 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2026/02/28 08:38:01 thor Exp $
 include/cblas.h
 include/cblas_64.h
 include/cblas_f77.h
@@ -9,5 +9,5 @@ include/netlib/cblas_f77.h
 include/netlib/cblas_mangling.h
 lib/libcblas.so
 lib/libcblas.so.3
-lib/libcblas.so.3.12.0
+lib/libcblas.so.${PKGVERSION}
 lib/pkgconfig/cblas.pc

Index: pkgsrc/math/cblas64/PLIST
diff -u pkgsrc/math/cblas64/PLIST:1.4 pkgsrc/math/cblas64/PLIST:1.5
--- pkgsrc/math/cblas64/PLIST:1.4       Tue Jan 14 11:41:35 2025
+++ pkgsrc/math/cblas64/PLIST   Sat Feb 28 08:38:01 2026
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2025/01/14 11:41:35 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2026/02/28 08:38:01 thor Exp $
 include/netlib64/cblas.h
 include/netlib64/cblas_64.h
 include/netlib64/cblas_f77.h
 include/netlib64/cblas_mangling.h
 lib/libcblas64.so
 lib/libcblas64.so.3
-lib/libcblas64.so.3.12.0
+lib/libcblas64.so.${PKGVERSION}
 lib/pkgconfig/cblas64.pc

Index: pkgsrc/math/lapack/PLIST
diff -u pkgsrc/math/lapack/PLIST:1.8 pkgsrc/math/lapack/PLIST:1.9
--- pkgsrc/math/lapack/PLIST:1.8        Tue Jan 14 11:41:00 2025
+++ pkgsrc/math/lapack/PLIST    Sat Feb 28 08:38:00 2026
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.8 2025/01/14 11:41:00 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2026/02/28 08:38:00 thor Exp $
 lib/liblapack.so
 lib/liblapack.so.3
-lib/liblapack.so.3.12.0
+lib/liblapack.so.${PKGVERSION}
 lib/pkgconfig/lapack.pc

Index: pkgsrc/math/lapack/distinfo
diff -u pkgsrc/math/lapack/distinfo:1.37 pkgsrc/math/lapack/distinfo:1.38
--- pkgsrc/math/lapack/distinfo:1.37    Tue Jan 14 11:41:00 2025
+++ pkgsrc/math/lapack/distinfo Sat Feb 28 08:38:00 2026
@@ -1,8 +1,20 @@
-$NetBSD: distinfo,v 1.37 2025/01/14 11:41:00 wiz Exp $
+$NetBSD: distinfo,v 1.38 2026/02/28 08:38:00 thor Exp $
 
-BLAKE2s (lapack-3.12.0.tar.gz) = 825f0d9aa80ae124635784ef7801bf0e2232c27f4f1fec246fb978366ca41bf9
-SHA512 (lapack-3.12.0.tar.gz) = f8f3c733a0221be0b3f5618235408ac59cbd4e5f1c4eab5f509b831a6ec6a9ef14b8849aa6ea10810df1aff90186ca454d15e9438d1dd271c2449d42d3da9dda
-Size (lapack-3.12.0.tar.gz) = 7933607 bytes
+BLAKE2s (lapack-3.12.1.tar.gz) = c895dbfbfb25d8ee6e2b55d506f6878f731c1d3fe2b39cd53a40fa791cb4ae4a
+SHA512 (lapack-3.12.1.tar.gz) = 9749976d773830eb635498611c7f1247af8dece23fe8c08446243aa39bdcc20dd35fdc670345643cd1ec6828e379d5c2152009817e0b486c10fd89a06602e0fb
+Size (lapack-3.12.1.tar.gz) = 8067087 bytes
 SHA1 (patch-BLAS_CMakeLists.txt) = fe453f02836357dc265126c2eb4db5d79c370a8a
 SHA1 (patch-CBLAS_src_CMakeLists.txt) = d400dc4ec02620f8c4fc99331b7e4d69362c810e
-SHA1 (patch-CMakeLists.txt) = 9f82695bd3d74f18c2ad0b928661947cfc5d35c5
+SHA1 (patch-CMakeLists.txt) = 3bf36bf9ea55f21fd90b6ddb0cb7298ed74b333b
+SHA1 (patch-SRC_DEPRECATED_cgelqs.f) = 769795fb4de33def23fea77d5298560d3cc4e5a5
+SHA1 (patch-SRC_DEPRECATED_cgelsx.f) = caed1228e6fb7315142a1652afcab2b99cce77fd
+SHA1 (patch-SRC_DEPRECATED_cgeqrs.f) = 7113a0a7d4e8c8418d763b8c26192580f1b6f5cb
+SHA1 (patch-SRC_DEPRECATED_dgelqs.f) = ea1fc83151119e3569e5b211380d0d65e8b0e33a
+SHA1 (patch-SRC_DEPRECATED_dgeqpf.f) = d360f18579b82e2ae71023679064fecdd71cf760
+SHA1 (patch-SRC_DEPRECATED_dgeqrs.f) = 23b1c27931987294738692cdf4eb18376488d3f4
+SHA1 (patch-SRC_DEPRECATED_dlahrd.f) = 2c01fee5b705b885423d3fb2113ff25ebd8229c4
+SHA1 (patch-SRC_DEPRECATED_sgelqs.f) = 04f1363903efe7954b89635f5f1c1ffb5b43a1dd
+SHA1 (patch-SRC_DEPRECATED_sgeqpf.f) = f1872d61ef8f680d283977ec25de6fca6d679166
+SHA1 (patch-SRC_DEPRECATED_sgeqrs.f) = 500be13b406187cc26a4f87c060cb5abc5d638f7
+SHA1 (patch-SRC_DEPRECATED_zgelqs.f) = 9fa5df97ac3275dbd74fd87dc48ee59561e099c0
+SHA1 (patch-SRC_DEPRECATED_zgeqrs.f) = d03ead725a9762fdc39006337ebf079b62236e80

Index: pkgsrc/math/lapack/version.mk
diff -u pkgsrc/math/lapack/version.mk:1.6 pkgsrc/math/lapack/version.mk:1.7
--- pkgsrc/math/lapack/version.mk:1.6   Mon Jan  8 21:28:55 2024
+++ pkgsrc/math/lapack/version.mk       Sat Feb 28 08:38:00 2026
@@ -1,3 +1,3 @@
-# $NetBSD: version.mk,v 1.6 2024/01/08 21:28:55 thor Exp $
+# $NetBSD: version.mk,v 1.7 2026/02/28 08:38:00 thor Exp $
 
-NETLIB_BLAS_VERSION=   3.12.0
+NETLIB_BLAS_VERSION=   3.12.1

Index: pkgsrc/math/lapack/patches/patch-CMakeLists.txt
diff -u pkgsrc/math/lapack/patches/patch-CMakeLists.txt:1.7 pkgsrc/math/lapack/patches/patch-CMakeLists.txt:1.8
--- pkgsrc/math/lapack/patches/patch-CMakeLists.txt:1.7 Tue Jan 14 11:41:00 2025
+++ pkgsrc/math/lapack/patches/patch-CMakeLists.txt     Sat Feb 28 08:38:00 2026
@@ -1,24 +1,30 @@
-$NetBSD: patch-CMakeLists.txt,v 1.7 2025/01/14 11:41:00 wiz Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.8 2026/02/28 08:38:00 thor Exp $
 
 A changeset that I pushed upstream in a PR, to enable separate libblas build,
 un-break standalone CBLAS build with included BLAS, not unconditionally
 require unnecessary C++ compiler.
 
+Also, they forgot to increment the patch version for the release ...
+
 See: https://github.com/Reference-LAPACK/lapack/pull/972
 
---- CMakeLists.txt.orig        2023-11-24 20:41:15.000000000 +0000
+--- CMakeLists.txt.orig        2024-12-03 11:39:11.000000000 +0000
 +++ CMakeLists.txt
-@@ -1,6 +1,6 @@
- cmake_minimum_required(VERSION 3.6)
- 
--project(LAPACK)
-+project(LAPACK Fortran C)
+@@ -4,7 +4,7 @@ project(LAPACK C)
  
  set(LAPACK_MAJOR_VERSION 3)
  set(LAPACK_MINOR_VERSION 12)
-@@ -244,8 +244,12 @@ endif()
+-set(LAPACK_PATCH_VERSION 0)
++set(LAPACK_PATCH_VERSION 1)
+ set(
+   LAPACK_VERSION
+   ${LAPACK_MAJOR_VERSION}.${LAPACK_MINOR_VERSION}.${LAPACK_PATCH_VERSION}
+@@ -246,9 +246,15 @@ endif()
+ 
  # Neither user specified or optimized BLAS libraries can be used
  if(NOT BLAS_FOUND)
++  # Workaround to enable build of CBLAS with BLAS but without LAPACK.
++  # There should a cleaner way for sure. --ThOr
    message(STATUS "Using supplied NETLIB BLAS implementation")
 +  set(LAPACK_INSTALL_EXPORT_NAME_CACHE ${LAPACK_INSTALL_EXPORT_NAME})
 +  set(LAPACK_INSTALL_EXPORT_NAME ${BLASLIB}-targets)
@@ -27,21 +33,21 @@ See: https://github.com/Reference-LAPACK
 +  set(LAPACK_INSTALL_EXPORT_NAME ${LAPACK_INSTALL_EXPORT_NAME_CACHE})
 +  unset(LAPACK_INSTALL_EXPORT_NAME_CACHE)
  else()
-   set(CMAKE_EXE_LINKER_FLAGS
-     "${CMAKE_EXE_LINKER_FLAGS} ${BLAS_LINKER_FLAGS}"
-@@ -277,6 +281,10 @@ endif()
+   add_link_options(${BLAS_LINKER_FLAGS})
+ endif()
+@@ -272,6 +278,10 @@ endif()
  
  option(USE_OPTIMIZED_LAPACK "Whether or not to use an optimized LAPACK library instead of included netlib LAPACK" OFF)
  
-+option(LAPACK "Whether to build or use LAPACK (to enable a BLAS-only build)")
++option(LAPACK "Whether to build or use LAPACK (to enable a BLAS-only build)" ON)
 +
 +if(LAPACK)
 +
  # --------------------------------------------------
  # LAPACK
  # User did not provide a LAPACK Library but specified to search for one
-@@ -348,6 +356,8 @@ else()
-     CACHE STRING "Linker flags for shared libs" FORCE)
+@@ -335,6 +345,8 @@ else()
+   add_link_options(${LAPACK_LINKER_FLAGS})
  endif()
  
 +endif()
@@ -49,7 +55,7 @@ See: https://github.com/Reference-LAPACK
  if(BUILD_TESTING)
    add_subdirectory(TESTING)
  endif()
-@@ -413,6 +423,7 @@ function(_display_cpp_implementation_msg
+@@ -400,6 +412,7 @@ function(_display_cpp_implementation_msg
    message(STATUS "----------------")
  endfunction()
  if (BLAS++)
@@ -57,7 +63,7 @@ See: https://github.com/Reference-LAPACK
    _display_cpp_implementation_msg("BLAS")
    include(ExternalProject)
    ExternalProject_Add(blaspp
-@@ -424,6 +435,7 @@ if (BLAS++)
+@@ -411,6 +424,7 @@ if (BLAS++)
    ExternalProject_Add_StepDependencies(blaspp build ${BLAS_LIBRARIES})
  endif()
  if (LAPACK++)
@@ -65,7 +71,7 @@ See: https://github.com/Reference-LAPACK
        message (STATUS "linking lapack++ against ${LAPACK_LIBRARIES}")
    _display_cpp_implementation_msg("LAPACK")
    include(ExternalProject)
-@@ -482,10 +494,14 @@ if(NOT BLAS_FOUND)
+@@ -469,10 +483,14 @@ if(NOT BLAS_FOUND)
    set(ALL_TARGETS ${ALL_TARGETS} ${BLASLIB})
  endif()
  
@@ -80,7 +86,7 @@ See: https://github.com/Reference-LAPACK
  # Export lapack targets, not including lapacke, from the
  # install tree, if any.
  set(_lapack_config_install_guard_target "")
-@@ -499,6 +515,7 @@ if(ALL_TARGETS)
+@@ -486,6 +504,7 @@ if(ALL_TARGETS)
    # lapack-config.cmake to load targets from the install tree.
    list(GET ALL_TARGETS 0 _lapack_config_install_guard_target)
  endif()
@@ -88,7 +94,7 @@ See: https://github.com/Reference-LAPACK
  
  # Include cblas in targets exported from the build tree.
  if(CBLAS)
-@@ -514,6 +531,8 @@ if(NOT LAPACK_WITH_TMGLIB_FOUND AND LAPA
+@@ -501,6 +520,8 @@ if(NOT LAPACK_WITH_TMGLIB_FOUND AND LAPA
    set(ALL_TARGETS ${ALL_TARGETS} ${TMGLIB})
  endif()
  
@@ -97,7 +103,7 @@ See: https://github.com/Reference-LAPACK
  # Export lapack and lapacke targets from the build tree, if any.
  set(_lapack_config_build_guard_target "")
  if(ALL_TARGETS)
-@@ -551,6 +570,9 @@ install(FILES
+@@ -538,6 +559,9 @@ install(FILES
    DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${LAPACKLIB}-${LAPACK_VERSION}
    COMPONENT Development
    )
@@ -107,7 +113,7 @@ See: https://github.com/Reference-LAPACK
  if (LAPACK++)
    install(
    DIRECTORY "${LAPACK_BINARY_DIR}/lib/"
-@@ -562,6 +584,7 @@ if (LAPACK++)
+@@ -549,6 +573,7 @@ if (LAPACK++)
      DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
      FILES_MATCHING REGEX "\\.(h|hh)$"
    )
@@ -115,7 +121,7 @@ See: https://github.com/Reference-LAPACK
    write_basic_package_version_file(
      "lapackppConfigVersion.cmake"
      VERSION 2020.10.02
-@@ -575,6 +598,7 @@ if (LAPACK++)
+@@ -562,6 +587,7 @@ if (LAPACK++)
  
  endif()
  if (BLAS++)

Index: pkgsrc/math/lapack64/PLIST
diff -u pkgsrc/math/lapack64/PLIST:1.3 pkgsrc/math/lapack64/PLIST:1.4
--- pkgsrc/math/lapack64/PLIST:1.3      Tue Jan 14 11:41:35 2025
+++ pkgsrc/math/lapack64/PLIST  Sat Feb 28 08:38:00 2026
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2025/01/14 11:41:35 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/02/28 08:38:00 thor Exp $
 lib/liblapack64.so
 lib/liblapack64.so.3
-lib/liblapack64.so.3.12.0
+lib/liblapack64.so.${PKGVERSION}
 lib/pkgconfig/lapack64.pc

Index: pkgsrc/math/lapacke/PLIST
diff -u pkgsrc/math/lapacke/PLIST:1.5 pkgsrc/math/lapacke/PLIST:1.6
--- pkgsrc/math/lapacke/PLIST:1.5       Tue Jan 14 11:41:35 2025
+++ pkgsrc/math/lapacke/PLIST   Sat Feb 28 08:38:01 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2025/01/14 11:41:35 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2026/02/28 08:38:01 thor Exp $
 include/lapack.h
 include/lapacke.h
 include/lapacke_config.h
@@ -11,5 +11,5 @@ include/netlib/lapacke_mangling.h
 include/netlib/lapacke_utils.h
 lib/liblapacke.so
 lib/liblapacke.so.3
-lib/liblapacke.so.3.12.0
+lib/liblapacke.so.${PKGVERSION}
 lib/pkgconfig/lapacke.pc

Index: pkgsrc/math/lapacke64/PLIST
diff -u pkgsrc/math/lapacke64/PLIST:1.3 pkgsrc/math/lapacke64/PLIST:1.4
--- pkgsrc/math/lapacke64/PLIST:1.3     Tue Jan 14 11:41:35 2025
+++ pkgsrc/math/lapacke64/PLIST Sat Feb 28 08:38:01 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2025/01/14 11:41:35 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/02/28 08:38:01 thor Exp $
 include/netlib64/lapack.h
 include/netlib64/lapacke.h
 include/netlib64/lapacke_config.h
@@ -6,5 +6,5 @@ include/netlib64/lapacke_mangling.h
 include/netlib64/lapacke_utils.h
 lib/liblapacke64.so
 lib/liblapacke64.so.3
-lib/liblapacke64.so.3.12.0
+lib/liblapacke64.so.${PKGVERSION}
 lib/pkgconfig/lapacke64.pc

Added files:

Index: pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_cgelqs.f
diff -u /dev/null pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_cgelqs.f:1.1
--- /dev/null   Sat Feb 28 08:38:02 2026
+++ pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_cgelqs.f    Sat Feb 28 08:38:00 2026
@@ -0,0 +1,29 @@
+$NetBSD: patch-SRC_DEPRECATED_cgelqs.f,v 1.1 2026/02/28 08:38:00 thor Exp $
+
+Fix bogus symbols due to expanded ILP64 macros, lifted from FreeBSD.
+This is fixed upstream, just missing a release.
+
+--- SRC/DEPRECATED/cgelqs.f.orig       2024-12-03 11:39:11 UTC
++++ SRC/DEPRECATED/cgelqs.f
+@@ -15,8 +15,9 @@
+ *       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *       ..
+ *       .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+ *       COMPLEX            A( LDA, * ), B( LDB, * ), TAU( * ),
+-*      $                   WORK( LWORK )
++*      $                   WORK( * )
+ *       ..
+ *
+ *
+@@ -127,8 +128,9 @@
+       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *     ..
+ *     .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+       COMPLEX            A( LDA, * ), B( LDB, * ), TAU( * ),
+-     $                   WORK( LWORK )
++     $                   WORK( * )
+ *     ..
+ *
+ *  =====================================================================
Index: pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_cgelsx.f
diff -u /dev/null pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_cgelsx.f:1.1
--- /dev/null   Sat Feb 28 08:38:02 2026
+++ pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_cgelsx.f    Sat Feb 28 08:38:00 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-SRC_DEPRECATED_cgelsx.f,v 1.1 2026/02/28 08:38:00 thor Exp $
+
+Fix bogus symbols due to expanded ILP64 macros, lifted from FreeBSD.
+This is fixed upstream, just missing a release.
+
+--- SRC/DEPRECATED/cgelsx.f.orig       2024-12-03 11:39:11 UTC
++++ SRC/DEPRECATED/cgelsx.f
+@@ -364,8 +364,8 @@
+ *
+ *     B(1:M,1:NRHS) := Q**H * B(1:M,1:NRHS)
+ *
+-      CALL CUNM2R( 'Left', 'Conjugate transpose', M, NRHS, MN, A, LDA,
+-     $             WORK( 1 ), B, LDB, WORK( 2*MN+1 ), INFO )
++      CALL CUNM2R( 'Left', 'Conjugate transpose', M, NRHS, MN, A,
++     $              LDA, WORK( 1 ), B, LDB, WORK( 2*MN+1 ), INFO )
+ *
+ *     workspace NRHS
+ *
Index: pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_cgeqrs.f
diff -u /dev/null pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_cgeqrs.f:1.1
--- /dev/null   Sat Feb 28 08:38:02 2026
+++ pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_cgeqrs.f    Sat Feb 28 08:38:00 2026
@@ -0,0 +1,29 @@
+$NetBSD: patch-SRC_DEPRECATED_cgeqrs.f,v 1.1 2026/02/28 08:38:00 thor Exp $
+
+Fix bogus symbols due to expanded ILP64 macros, lifted from FreeBSD.
+This is fixed upstream, just missing a release.
+
+--- SRC/DEPRECATED/cgeqrs.f.orig       2024-12-03 11:39:11 UTC
++++ SRC/DEPRECATED/cgeqrs.f
+@@ -15,8 +15,9 @@
+ *       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *       ..
+ *       .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+ *       COMPLEX            A( LDA, * ), B( LDB, * ), TAU( * ),
+-*      $                   WORK( LWORK )
++*      $                   WORK( * )
+ *       ..
+ *
+ *
+@@ -127,8 +128,9 @@
+       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *     ..
+ *     .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+       COMPLEX            A( LDA, * ), B( LDB, * ), TAU( * ),
+-     $                   WORK( LWORK )
++     $                   WORK( * )
+ *     ..
+ *
+ *  =====================================================================
Index: pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dgelqs.f
diff -u /dev/null pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dgelqs.f:1.1
--- /dev/null   Sat Feb 28 08:38:02 2026
+++ pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dgelqs.f    Sat Feb 28 08:38:00 2026
@@ -0,0 +1,29 @@
+$NetBSD: patch-SRC_DEPRECATED_dgelqs.f,v 1.1 2026/02/28 08:38:00 thor Exp $
+
+Fix bogus symbols due to expanded ILP64 macros, lifted from FreeBSD.
+This is fixed upstream, just missing a release.
+
+--- SRC/DEPRECATED/dgelqs.f.orig       2024-12-03 11:39:11 UTC
++++ SRC/DEPRECATED/dgelqs.f
+@@ -15,8 +15,9 @@
+ *       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *       ..
+ *       .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+ *       DOUBLE PRECISION   A( LDA, * ), B( LDB, * ), TAU( * ),
+-*      $                   WORK( LWORK )
++*      $                   WORK( * )
+ *       ..
+ *
+ *
+@@ -127,8 +128,9 @@
+       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *     ..
+ *     .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+       DOUBLE PRECISION   A( LDA, * ), B( LDB, * ), TAU( * ),
+-     $                   WORK( LWORK )
++     $                   WORK( * )
+ *     ..
+ *
+ *  =====================================================================
Index: pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dgeqpf.f
diff -u /dev/null pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dgeqpf.f:1.1
--- /dev/null   Sat Feb 28 08:38:02 2026
+++ pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dgeqpf.f    Sat Feb 28 08:38:00 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-SRC_DEPRECATED_dgeqpf.f,v 1.1 2026/02/28 08:38:00 thor Exp $
+
+Fix bogus symbols due to expanded ILP64 macros, lifted from FreeBSD.
+This is fixed upstream, just missing a release.
+
+--- SRC/DEPRECATED/dgeqpf.f.orig       2024-12-03 11:39:11 UTC
++++ SRC/DEPRECATED/dgeqpf.f
+@@ -218,8 +218,8 @@
+          MA = MIN( ITEMP, M )
+          CALL DGEQR2( M, MA, A, LDA, TAU, WORK, INFO )
+          IF( MA.LT.N ) THEN
+-            CALL DORM2R( 'Left', 'Transpose', M, N-MA, MA, A, LDA, TAU,
+-     $                   A( 1, MA+1 ), LDA, WORK, INFO )
++            CALL DORM2R( 'Left', 'Transpose', M, N-MA, MA, A, LDA,
++     $                    TAU, A( 1, MA+1 ), LDA, WORK, INFO )
+          END IF
+       END IF
+ *
Index: pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dgeqrs.f
diff -u /dev/null pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dgeqrs.f:1.1
--- /dev/null   Sat Feb 28 08:38:02 2026
+++ pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dgeqrs.f    Sat Feb 28 08:38:00 2026
@@ -0,0 +1,29 @@
+$NetBSD: patch-SRC_DEPRECATED_dgeqrs.f,v 1.1 2026/02/28 08:38:00 thor Exp $
+
+Fix bogus symbols due to expanded ILP64 macros, lifted from FreeBSD.
+This is fixed upstream, just missing a release.
+
+--- SRC/DEPRECATED/dgeqrs.f.orig       2024-12-03 11:39:11 UTC
++++ SRC/DEPRECATED/dgeqrs.f
+@@ -15,8 +15,9 @@
+ *       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *       ..
+ *       .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+ *       DOUBLE PRECISION   A( LDA, * ), B( LDB, * ), TAU( * ),
+-*      $                   WORK( LWORK )
++*      $                   WORK( * )
+ *       ..
+ *
+ *
+@@ -127,8 +128,9 @@
+       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *     ..
+ *     .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+       DOUBLE PRECISION   A( LDA, * ), B( LDB, * ), TAU( * ),
+-     $                   WORK( LWORK )
++     $                   WORK( * )
+ *     ..
+ *
+ *  =====================================================================
Index: pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dlahrd.f
diff -u /dev/null pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dlahrd.f:1.1
--- /dev/null   Sat Feb 28 08:38:02 2026
+++ pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_dlahrd.f    Sat Feb 28 08:38:00 2026
@@ -0,0 +1,31 @@
+$NetBSD: patch-SRC_DEPRECATED_dlahrd.f,v 1.1 2026/02/28 08:38:00 thor Exp $
+
+Fix bogus symbols due to expanded ILP64 macros, lifted from FreeBSD.
+This is fixed upstream, just missing a release.
+
+--- SRC/DEPRECATED/dlahrd.f.orig       2024-12-03 11:39:11 UTC
++++ SRC/DEPRECATED/dlahrd.f
+@@ -231,8 +231,9 @@
+ *
+ *           w := T**T *w
+ *
+-            CALL DTRMV( 'Upper', 'Transpose', 'Non-unit', I-1, T, LDT,
+-     $                  T( 1, NB ), 1 )
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1093
++            CALL DTRMV( 'Upper', 'Transpose', 'Non-unit', I-1,
++     $                  T, LDT, T( 1, NB ), 1 )
+ *
+ *           b2 := b2 - V2*w
+ *
+@@ -270,8 +271,9 @@
+ *        Compute T(1:i,i)
+ *
+          CALL DSCAL( I-1, -TAU( I ), T( 1, I ), 1 )
+-         CALL DTRMV( 'Upper', 'No transpose', 'Non-unit', I-1, T, LDT,
+-     $               T( 1, I ), 1 )
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1093
++         CALL DTRMV( 'Upper', 'No transpose', 'Non-unit', I-1,
++     $               T, LDT, T( 1, I ), 1 )
+          T( I, I ) = TAU( I )
+ *
+    10 CONTINUE
Index: pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_sgelqs.f
diff -u /dev/null pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_sgelqs.f:1.1
--- /dev/null   Sat Feb 28 08:38:02 2026
+++ pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_sgelqs.f    Sat Feb 28 08:38:00 2026
@@ -0,0 +1,29 @@
+$NetBSD: patch-SRC_DEPRECATED_sgelqs.f,v 1.1 2026/02/28 08:38:00 thor Exp $
+
+Fix bogus symbols due to expanded ILP64 macros, lifted from FreeBSD.
+This is fixed upstream, just missing a release.
+
+--- SRC/DEPRECATED/sgelqs.f.orig       2024-12-03 11:39:11 UTC
++++ SRC/DEPRECATED/sgelqs.f
+@@ -15,8 +15,9 @@
+ *       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *       ..
+ *       .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+ *       REAL               A( LDA, * ), B( LDB, * ), TAU( * ),
+-*      $                   WORK( LWORK )
++*      $                   WORK( * )
+ *       ..
+ *
+ *
+@@ -127,8 +128,9 @@
+       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *     ..
+ *     .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+       REAL               A( LDA, * ), B( LDB, * ), TAU( * ),
+-     $                   WORK( LWORK )
++     $                   WORK( * )
+ *     ..
+ *
+ *  =====================================================================
Index: pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_sgeqpf.f
diff -u /dev/null pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_sgeqpf.f:1.1
--- /dev/null   Sat Feb 28 08:38:02 2026
+++ pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_sgeqpf.f    Sat Feb 28 08:38:00 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-SRC_DEPRECATED_sgeqpf.f,v 1.1 2026/02/28 08:38:00 thor Exp $
+
+Fix bogus symbols due to expanded ILP64 macros, lifted from FreeBSD.
+This is fixed upstream, just missing a release.
+
+--- SRC/DEPRECATED/sgeqpf.f.orig       2024-12-03 11:39:11 UTC
++++ SRC/DEPRECATED/sgeqpf.f
+@@ -218,8 +218,8 @@
+          MA = MIN( ITEMP, M )
+          CALL SGEQR2( M, MA, A, LDA, TAU, WORK, INFO )
+          IF( MA.LT.N ) THEN
+-            CALL SORM2R( 'Left', 'Transpose', M, N-MA, MA, A, LDA, TAU,
+-     $                   A( 1, MA+1 ), LDA, WORK, INFO )
++            CALL SORM2R( 'Left', 'Transpose', M, N-MA, MA, A, LDA,
++     $                    TAU, A( 1, MA+1 ), LDA, WORK, INFO )
+          END IF
+       END IF
+ *
Index: pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_sgeqrs.f
diff -u /dev/null pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_sgeqrs.f:1.1
--- /dev/null   Sat Feb 28 08:38:02 2026
+++ pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_sgeqrs.f    Sat Feb 28 08:38:00 2026
@@ -0,0 +1,29 @@
+$NetBSD: patch-SRC_DEPRECATED_sgeqrs.f,v 1.1 2026/02/28 08:38:00 thor Exp $
+
+Fix bogus symbols due to expanded ILP64 macros, lifted from FreeBSD.
+This is fixed upstream, just missing a release.
+
+--- SRC/DEPRECATED/sgeqrs.f.orig       2024-12-03 11:39:11 UTC
++++ SRC/DEPRECATED/sgeqrs.f
+@@ -15,8 +15,9 @@
+ *       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *       ..
+ *       .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+ *       REAL               A( LDA, * ), B( LDB, * ), TAU( * ),
+-*      $                   WORK( LWORK )
++*      $                   WORK( * )
+ *       ..
+ *
+ *
+@@ -127,8 +128,9 @@
+       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *     ..
+ *     .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+       REAL               A( LDA, * ), B( LDB, * ), TAU( * ),
+-     $                   WORK( LWORK )
++     $                   WORK( * )
+ *     ..
+ *
+ *  =====================================================================
Index: pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_zgelqs.f
diff -u /dev/null pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_zgelqs.f:1.1
--- /dev/null   Sat Feb 28 08:38:02 2026
+++ pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_zgelqs.f    Sat Feb 28 08:38:00 2026
@@ -0,0 +1,29 @@
+$NetBSD: patch-SRC_DEPRECATED_zgelqs.f,v 1.1 2026/02/28 08:38:00 thor Exp $
+
+Fix bogus symbols due to expanded ILP64 macros, lifted from FreeBSD.
+This is fixed upstream, just missing a release.
+
+--- SRC/DEPRECATED/zgelqs.f.orig       2024-12-03 11:39:11 UTC
++++ SRC/DEPRECATED/zgelqs.f
+@@ -15,8 +15,9 @@
+ *       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *       ..
+ *       .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+ *       COMPLEX*16         A( LDA, * ), B( LDB, * ), TAU( * ),
+-*      $                   WORK( LWORK )
++*      $                   WORK( * )
+ *       ..
+ *
+ *
+@@ -127,8 +128,9 @@
+       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *     ..
+ *     .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+       COMPLEX*16         A( LDA, * ), B( LDB, * ), TAU( * ),
+-     $                   WORK( LWORK )
++     $                   WORK( * )
+ *     ..
+ *
+ *  =====================================================================
Index: pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_zgeqrs.f
diff -u /dev/null pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_zgeqrs.f:1.1
--- /dev/null   Sat Feb 28 08:38:02 2026
+++ pkgsrc/math/lapack/patches/patch-SRC_DEPRECATED_zgeqrs.f    Sat Feb 28 08:38:00 2026
@@ -0,0 +1,29 @@
+$NetBSD: patch-SRC_DEPRECATED_zgeqrs.f,v 1.1 2026/02/28 08:38:00 thor Exp $
+
+Fix bogus symbols due to expanded ILP64 macros, lifted from FreeBSD.
+This is fixed upstream, just missing a release.
+
+--- SRC/DEPRECATED/zgeqrs.f.orig       2024-12-03 11:39:11 UTC
++++ SRC/DEPRECATED/zgeqrs.f
+@@ -15,8 +15,9 @@
+ *       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *       ..
+ *       .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+ *       COMPLEX*16         A( LDA, * ), B( LDB, * ), TAU( * ),
+-*      $                   WORK( LWORK )
++*      $                   WORK( * )
+ *       ..
+ *
+ *
+@@ -127,8 +128,9 @@
+       INTEGER            INFO, LDA, LDB, LWORK, M, N, NRHS
+ *     ..
+ *     .. Array Arguments ..
++* Patch from https://github.com/Reference-LAPACK/lapack/pull/1094
+       COMPLEX*16         A( LDA, * ), B( LDB, * ), TAU( * ),
+-     $                   WORK( LWORK )
++     $                   WORK( * )
+ *     ..
+ *
+ *  =====================================================================



Home | Main Index | Thread Index | Old Index