git: 1a59ae677c8d - main - math/superlu-mt: update 4.0.2 → 4.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Nov 2026 17:19:39 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1a59ae677c8d28ad4f4b7458f41df39c6f36d048
commit 1a59ae677c8d28ad4f4b7458f41df39c6f36d048
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-11-10 08:19:56 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-11-10 17:18:54 +0000
math/superlu-mt: update 4.0.2 → 4.1.0
---
math/superlu-mt/Makefile | 8 ++------
math/superlu-mt/distinfo | 8 +++-----
math/superlu-mt/files/patch-SRC_util.c | 14 ++++++++++++++
3 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/math/superlu-mt/Makefile b/math/superlu-mt/Makefile
index 28771fb5151e..3b061f0f10e8 100644
--- a/math/superlu-mt/Makefile
+++ b/math/superlu-mt/Makefile
@@ -1,12 +1,8 @@
PORTNAME= superlu-mt
DISTVERSIONPREFIX= v
-DISTVERSION= 4.0.2
-PORTREVISION= 1
+DISTVERSION= 4.1.0
CATEGORIES= math
-PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES+= b121cf0fcafbd10a1ca18c8d062d54cd68bbae9d.patch:-p1 # add THREAD_API cmake option
-
MAINTAINER= yuri@FreeBSD.org
COMMENT= Library of routines for performing sparse factorization
WWW= https://portal.nersc.gov/project/sparse/superlu/
@@ -62,6 +58,6 @@ do-test:
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
-# tests as of 4.0.2: 100% tests passed, 0 tests failed out of 48
+# tests as of 4.1.0: 100% tests passed, 0 tests failed out of 48
.include <bsd.port.mk>
diff --git a/math/superlu-mt/distinfo b/math/superlu-mt/distinfo
index bb1b48c6d112..253184b25abb 100644
--- a/math/superlu-mt/distinfo
+++ b/math/superlu-mt/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1780814452
-SHA256 (xiaoyeli-superlu_mt-v4.0.2_GH0.tar.gz) = bc6659b145347fa77f90902827c140204c779f297ecb0dddb02a9d71dd2963a9
-SIZE (xiaoyeli-superlu_mt-v4.0.2_GH0.tar.gz) = 1800129
-SHA256 (b121cf0fcafbd10a1ca18c8d062d54cd68bbae9d.patch) = e17ef42ea1534f29e70af725f192b389fdab943d60a855133d214b82badce8be
-SIZE (b121cf0fcafbd10a1ca18c8d062d54cd68bbae9d.patch) = 4472
+TIMESTAMP = 1794160347
+SHA256 (xiaoyeli-superlu_mt-v4.1.0_GH0.tar.gz) = b881755a6414dc7ab8aff55ef3c765ae0f52ed7c11b63fb7a9ad72803dac4487
+SIZE (xiaoyeli-superlu_mt-v4.1.0_GH0.tar.gz) = 1803259
diff --git a/math/superlu-mt/files/patch-SRC_util.c b/math/superlu-mt/files/patch-SRC_util.c
new file mode 100644
index 000000000000..df1cb8284442
--- /dev/null
+++ b/math/superlu-mt/files/patch-SRC_util.c
@@ -0,0 +1,14 @@
+-- Do not call sbrk(), it is not available in libc on recent FreeBSD, which
+-- breaks linking of the shared library (undefined reference: sbrk).
+
+--- SRC/util.c.orig 2026-11-08 18:23:10 UTC
++++ SRC/util.c
+@@ -304,7 +304,7 @@ int_t check_mem_leak(char *where)
+
+ int_t check_mem_leak(char *where)
+ {
+-#ifdef unix
++#if defined(unix) && !defined(__FreeBSD__)
+ void *addr;
+ addr = (void *)sbrk(0);
+ printf("\tsbrk(0) %s: addr = %ld\n", where, (size_t) addr);