mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
lapack: bypass broken FortranCInterface_VERIFY() check
Fixes the build with gcc/15 and clears the way to boost.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Index: CBLAS/CMakeLists.txt
|
||||
--- CBLAS/CMakeLists.txt.orig
|
||||
+++ CBLAS/CMakeLists.txt
|
||||
@@ -10,7 +10,7 @@ if(CMAKE_Fortran_COMPILER)
|
||||
enable_language(Fortran)
|
||||
include(FortranCInterface)
|
||||
## Ensure that the fortran compiler and c compiler specified are compatible
|
||||
- FortranCInterface_VERIFY()
|
||||
+ #FortranCInterface_VERIFY()
|
||||
FortranCInterface_HEADER(${LAPACK_BINARY_DIR}/include/cblas_mangling.h
|
||||
MACRO_NAMESPACE "F77_"
|
||||
SYMBOL_NAMESPACE "F77_")
|
||||
@@ -0,0 +1,12 @@
|
||||
Index: LAPACKE/include/CMakeLists.txt
|
||||
--- LAPACKE/include/CMakeLists.txt.orig
|
||||
+++ LAPACKE/include/CMakeLists.txt
|
||||
@@ -14,7 +14,7 @@ if(CMAKE_Fortran_COMPILER AND CMAKE_C_COMPILER)
|
||||
enable_language(C)
|
||||
include(FortranCInterface)
|
||||
## Ensure that the fortran compiler and c compiler specified are compatible
|
||||
- FortranCInterface_VERIFY()
|
||||
+ #FortranCInterface_VERIFY()
|
||||
FortranCInterface_HEADER(${LAPACK_BINARY_DIR}/include/lapacke_mangling.h
|
||||
MACRO_NAMESPACE "LAPACK_"
|
||||
SYMBOL_NAMESPACE "LAPACK_")
|
||||
Reference in New Issue
Block a user