Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2025 13:11:38 GMT
From:      Lorenzo Salvadore <salvadore@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 84c1cefbbf7c - main - emulators/wine-proton: Fix build with GCC 14
Message-ID:  <202502061311.516DBcOr030387@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84c1cefbbf7cbe6e08f0c570e2ce88d6aee09cfc

commit 84c1cefbbf7cbe6e08f0c570e2ce88d6aee09cfc
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-02-06 10:26:50 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2025-02-06 13:11:07 +0000

    emulators/wine-proton: Fix build with GCC 14
    
    Disable warnings about incompatible integer to pointer and pointer to
    integer conversions, which are treated as errors.
    This is a lighter version of adding the -fpermissive flag, which has
    been used to fix other ports failing build with GCC 14.
    
    PR:             284488
    Approved by:    maintainer (Alex S <iwtcex@gmail.com>)
---
 emulators/wine-proton/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emulators/wine-proton/Makefile b/emulators/wine-proton/Makefile
index 1915b52c6b1a..30e58d1a6aa7 100644
--- a/emulators/wine-proton/Makefile
+++ b/emulators/wine-proton/Makefile
@@ -96,7 +96,7 @@ CONFIGURE_ARGS=	--verbose \
 
 CONFIGURE_ENV=	CPPBIN="false" CPPFLAGS="" FLEX="${LOCALBASE}/bin/flex" JXRLIB_CFLAGS="-I${LOCALBASE}/include/jxrlib"
 
-CFLAGS+=	-D__NR_futex="-1" -Werror=implicit-function-declaration
+CFLAGS+=	-D__NR_futex="-1" -Werror=implicit-function-declaration -Wno-int-conversion
 CFLAGS_i386+=	-mpreferred-stack-boundary=4 -mstackrealign
 PIE_UNSAFE=	yes
 



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