git: c302a18b719e - main - math/csdp: Fix build on 14-CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Dec 2021 20:26:48 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c302a18b719e5577f046b602c9454f8bf20bb684
commit c302a18b719e5577f046b602c9454f8bf20bb684
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-12-07 20:25:21 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-12-07 20:26:46 +0000
math/csdp: Fix build on 14-CURRENT
---
math/csdp/files/patch-Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/math/csdp/files/patch-Makefile b/math/csdp/files/patch-Makefile
index edb5223924a4..6bff733238d2 100644
--- a/math/csdp/files/patch-Makefile
+++ b/math/csdp/files/patch-Makefile
@@ -1,3 +1,5 @@
+- replacement of -ansi with -std=c99 is to work around https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260136
+
--- Makefile.orig 2017-07-25 18:44:57 UTC
+++ Makefile
@@ -11,11 +11,11 @@
@@ -5,7 +7,7 @@
# CFLAGS settings for 64 bit Linux/unix systems.
#
-export CFLAGS=-m64 -march=native -mtune=native -Ofast -fopenmp -ansi -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include
-+CFLAGS=$(FREEBSD_CFLAGS) -fopenmp -ansi -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include
++CFLAGS=$(FREEBSD_CFLAGS) -fopenmp -std=c99 -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include
#
# LIBS settings for 64 bit Linux/unix systems.
#