diff --git a/math/openblas/distinfo b/math/openblas/distinfo index 232404802a97..e3eba75f0991 100644 --- a/math/openblas/distinfo +++ b/math/openblas/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.11 2024/02/17 10:13:19 adam Exp $ +$NetBSD: distinfo,v 1.12 2024/04/25 10:02:07 jperkin Exp $ BLAKE2s (OpenBLAS-0.3.26.tar.gz) = 0fbd69665e88cffb118b86af77fd981ad5f5eb167f0ddf7deb5616efdf4b732e SHA512 (OpenBLAS-0.3.26.tar.gz) = 01d3a536fbfa62f276fd6b1ad0e218fb3d91f41545fc83ddc74979fa26372d8389f0baa20334badfe0adacd77bd944c50a47ac920577373fcc1d495553084373 @@ -7,6 +7,7 @@ SHA1 (patch-Makefile) = 1b375bddd95af23cfe5e3ccd9476d3bf0fa78043 SHA1 (patch-Makefile.install) = 3e15dc3674285b5b6b014e8ab17f77f60cf7ac61 SHA1 (patch-Makefile.rule) = 45b6b4576fb521fa093252c63b899d4178a516b6 SHA1 (patch-Makefile.system) = 6dc9fd85731ca88cb1fdb9063ba3baa31edbcfb8 +SHA1 (patch-c__check) = 5d30cd9b2534d553d4dfec757b69d3de408054a2 SHA1 (patch-common__arm.h) = f08ec61bee8317daac267e90a79f46097b3431c9 SHA1 (patch-cpuid__arm.c) = 20f95cede90cbe548c0cd09ed2e3d37d1d4aeabd SHA1 (patch-cpuid_ia64.c) = 39649319b8c0a37b8d494e3c03b1ddb6fb616603 diff --git a/math/openblas/patches/patch-c__check b/math/openblas/patches/patch-c__check new file mode 100644 index 000000000000..5dab0d3a8bb0 --- /dev/null +++ b/math/openblas/patches/patch-c__check @@ -0,0 +1,18 @@ +$NetBSD: patch-c__check,v 1.1 2024/04/25 10:02:07 jperkin Exp $ + +Do not apply broken -Y handling on SunOS. + +--- c_check.orig 2024-01-02 21:25:05.000000000 +0000 ++++ c_check +@@ -384,9 +384,11 @@ for flag in $flags; do + esac + esac + ++ if [ $hostos != "SunOS" ]; then + case "$flag" in -Y*) + linker_L="$linker_L -Wl,$flag" ;; + esac ++ fi + + case "$flag" in --exclude-libs*) + linker_L="$linker_L -Wl,$flag"