Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 May 2022 06:06:52 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: 3b205848fc1c - main - math/spot: Fix build failures on 13.0, 12.3
Message-ID:  <202205080606.24866qcc065466@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=3b205848fc1c114e0cc16f3aba544436fd03cb97

commit 3b205848fc1c114e0cc16f3aba544436fd03cb97
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-08 06:06:13 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-08 06:06:13 +0000

    math/spot: Fix build failures on 13.0, 12.3
    
    Reported by:    fallout
---
 math/spot/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/math/spot/Makefile b/math/spot/Makefile
index 49bab3f3215c..3a331ceb418d 100644
--- a/math/spot/Makefile
+++ b/math/spot/Makefile
@@ -15,6 +15,8 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-python --disable-static
 
+CXXFLAGS+=	-Drestrict= # fix build problem on 13.0, 12.3 and earlier systems because clang-11 and earlier don't understand the restrict keyword
+
 INSTALL_TARGET=	install-strip
 
 OPTIONS_DEFINE=	DOCS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205080606.24866qcc065466>