Date: Tue, 7 Dec 2021 20:26:48 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c302a18b719e - main - math/csdp: Fix build on 14-CURRENT Message-ID: <202112072026.1B7KQmGK021743@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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. #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112072026.1B7KQmGK021743>