From a089d568abb294619157e9fe79029c8c3a4aef65 Mon Sep 17 00:00:00 2001 From: Lorenzo Salvadore Date: Sat, 21 Dec 2024 11:56:48 +0100 Subject: [PATCH] lang/opencoarrays: Fix build with GCC 14 GCC 14 turns some warnings into errors. Switch them back to warnings by adding -fpermissive to CFLAGS. PR: 281239 --- lang/opencoarrays/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/opencoarrays/Makefile b/lang/opencoarrays/Makefile index 4a479a9c9010..83f779100eac 100644 --- a/lang/opencoarrays/Makefile +++ b/lang/opencoarrays/Makefile @@ -23,6 +23,8 @@ GH_ACCOUNT= sourceryinstitute GH_PROJECT= OpenCoarrays USE_LDCONFIG= yes +CFLAGS+= -fpermissive + PLIST_SUB= GCC_VER=${_GCC_VER} \ PORTVERSION=${PORTVERSION} \ SOVERSION=3