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:
parent
efac001e8b
commit
85f7ee26d6
@ -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
|
||||
|
||||
|
11
cad/alliance/files/patch-scr_src_Makefile.am
Normal file
11
cad/alliance/files/patch-scr_src_Makefile.am
Normal 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 \
|
Loading…
Reference in New Issue
Block a user