1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

cad/alliance: Fix build with GCC 14

GCC 14 has transformed some warnings into errors: revert them to simple
warnings.

PR:		281223
Reported by:	exp-run (antoine)
This commit is contained in:
Lorenzo Salvadore 2024-09-04 11:53:17 +02:00
parent efac001e8b
commit 85f7ee26d6
No known key found for this signature in database
GPG Key ID: B58F7C3CF6DB8A38
2 changed files with 13 additions and 1 deletions

View File

@ -36,7 +36,8 @@ USE_LDCONFIG= ${ALLIANCE_TOP}/lib
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install-strip
CFLAGS+= -fcommon
CFLAGS+= -fcommon \
-fpermissive
CONFLICTS_INSTALL= ocp publib

View File

@ -0,0 +1,11 @@
--- scr/src/Makefile.am.orig 2024-09-05 09:01:44 UTC
+++ scr/src/Makefile.am
@@ -3,7 +3,7 @@ AM_YFLAGS = -d
AM_YFLAGS = -d
#CFLAGS = -g -pg -O2
-CFLAGS = -g -O2
+CFLAGS = -g -O2 -fpermissive
#CFLAGS = -O2
AM_CFLAGS = @ALLIANCE_CFLAGS@ \
-I$(top_srcdir)/mbk/src \