1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

math/taucs: Fix building with Flang and Clang 21

This commit is contained in:
Gleb Popov
2026-01-29 18:29:22 +03:00
parent fe518676bf
commit 729da381a2
2 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -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
@@ -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