git: 729da381a2e9 - main - math/taucs: Fix building with Flang and Clang 21
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Jan 2026 18:12:13 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=729da381a2e906189e7e5e34cc58f0fb63d6e43b
commit 729da381a2e906189e7e5e34cc58f0fb63d6e43b
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-01-29 15:29:22 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-01-29 18:12:07 +0000
math/taucs: Fix building with Flang and Clang 21
---
math/taucs/Makefile | 2 +-
math/taucs/files/patch-configurator_taucs__config.c | 13 +++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/math/taucs/Makefile b/math/taucs/Makefile
index 5bd6c7c28d17..9c2bddc738d7 100644
--- a/math/taucs/Makefile
+++ b/math/taucs/Makefile
@@ -55,7 +55,7 @@ archives: configure
lib: archives
@${PRINTF} "\n\n%s\n\n\n" "Building shared library:"
(cd ${WRKSRC}_SHARED/lib/FreeBSD && \
- ${FC} ${CFLAGS} ${PICFLAG} ${LDFLAGS} -shared \
+ ${CC} ${CFLAGS} ${PICFLAG} ${LDFLAGS} -shared \
-o libtaucs.so.1 -Wl,-x -Wl,-soname,libtaucs.so.1 \
-Wl,--whole-archive libtaucs.a -Wl,--no-whole-archive)
${STRIP_CMD} ${WRKSRC}_SHARED/lib/FreeBSD/libtaucs.so.1
diff --git a/math/taucs/files/patch-configurator_taucs__config.c b/math/taucs/files/patch-configurator_taucs__config.c
new file mode 100644
index 000000000000..2f0ffcbad1e4
--- /dev/null
+++ b/math/taucs/files/patch-configurator_taucs__config.c
@@ -0,0 +1,13 @@
+https://github.com/sivantoledo/taucs/pull/2
+
+--- configurator/taucs_config.c.orig 2003-09-04 09:08:32 UTC
++++ configurator/taucs_config.c
+@@ -2,6 +2,8 @@
+ #include <stdlib.h>
+ #include <string.h>
+
++extern int mkdir();
++
+ #include "taucs_structure.h"
+
+ #define INPUT_LEN 1024