git: d41b8aca8d1d - main - math/py-fdasrsf: fix build on 14

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 16 Oct 2026 07:04:47 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d41b8aca8d1d6823ab802f7223a04e32e8a16fb9

commit d41b8aca8d1d6823ab802f7223a04e32e8a16fb9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-16 07:01:19 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-16 07:04:44 +0000

    math/py-fdasrsf: fix build on 14
    
    ... by disabling obscure BLAS symbols validation code in setup.py
    that fails on 14 for some reason. Instead, validated by running
    tests from post-stage. Tests succeeded on 14 and 15.
    
    Reported by:    fallout
---
 math/py-fdasrsf/files/patch-pyproject.toml |  8 ++++----
 math/py-fdasrsf/files/patch-setup.py       | 16 ++++++++++++++++
 2 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/math/py-fdasrsf/files/patch-pyproject.toml b/math/py-fdasrsf/files/patch-pyproject.toml
index 099a265bed04..c187b8014d64 100644
--- a/math/py-fdasrsf/files/patch-pyproject.toml
+++ b/math/py-fdasrsf/files/patch-pyproject.toml
@@ -1,14 +1,14 @@
 -- Lower the setuptools lower bound to match the version provided by devel/py-setuptools.
 -- Do not update devel/py-setuptools; instead patch this port to use its declared version.
 
---- pyproject.toml.orig	2026-09-29 15:16:00 UTC
+--- pyproject.toml.orig	2026-09-17 12:24:23 UTC
 +++ pyproject.toml
 @@ -97,7 +97,7 @@ select = "*-win_amd64"
- #environment = { PKG_CONFIG_PATH = "/opt/64/lib/pkgconfig" }
-
+ #environment = { PKG_CONFIG_PATH = "c:/opt/64/lib/pkgconfig" }
+ 
  [build-system]
 -requires = ["setuptools>=83.0.0", "wheel", "cffi>=1.0.0", "Cython", "numpy"]  # PEP 518 - what is required to build
 +requires = ["setuptools>=63.1.0", "wheel", "cffi>=1.0.0", "Cython", "numpy"]  # PEP 518 - what is required to build
  build-backend = "setuptools.build_meta"
-
+ 
  [tool.pytest.ini_options]
diff --git a/math/py-fdasrsf/files/patch-setup.py b/math/py-fdasrsf/files/patch-setup.py
new file mode 100644
index 000000000000..7249fba61c97
--- /dev/null
+++ b/math/py-fdasrsf/files/patch-setup.py
@@ -0,0 +1,16 @@
+-- prevent false failure on 14 due to wrong obscure validation code
+-- tests pass in the 14amd64 Poudriere VM if connected to post-stage
+-- which validates BLAS symbols correctly in a different way
+
+--- setup.py.orig	2026-10-16 06:46:52 UTC
++++ setup.py
+@@ -241,6 +241,9 @@ class build_ext_checked(build_ext):
+             self._check_blas_resolvable(path)
+ 
+     def _check_blas_resolvable(self, path):
++        # disable obscure code that fails to validate presence of BLAS symbols on 14
++        return
++
+         # Look in both symbol tables: a static BLAS built with hidden visibility
+         # is defined in .symtab without appearing in .dynsym, and a stripped
+         # module has only .dynsym.  Missing either one is not an error here.