From nobody Wed Jul 19 19:27:24 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R5m6h4q8Cz4dNZM; Wed, 19 Jul 2023 19:27:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R5m6h3dTyz44TF; Wed, 19 Jul 2023 19:27:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689794844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K22dxukDqFcwWHL3U3iEaURqX+vTBqIgBZ7UTtDP8XE=; b=UqhaAMWtXimmTCMTXFsB5JJhps+1VfJ/em3L0Sq9VRSpyivcIPqUCn1P8YcwPxaAeM9A8u 05lH4PZM5p8K6CDYEnYcL64hcVsyLXRwv2NiimkdvlbIlXauCXt1B/5Hu7jmZcMTNfTHPM 9fEsGva8Wc7/nJLWdXF8iYNhKBRmKrZkynoDAHhyx6o6o/Cex8Ip7qCNfO4IMbvXaCRDCw i+vqNI+mrp8IJZ01f5H13q6g9DmOItlxKnNE4dcu8dhgNIfDxXCLrFZleH9dj1IsQmx3e4 +vFbiO4RyS8uwBMouXYbXXYuG4IZl3UVIzTawBPRTqB0vA3Y4s8RxsSJ9NgSKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689794844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K22dxukDqFcwWHL3U3iEaURqX+vTBqIgBZ7UTtDP8XE=; b=EGi/wYMMvkk2unV2PbNqhzE8gJU1i9VLNHkZqrNLjt2skVB+DYdbNGA2j1n3Tm1Cix4R4E dwBbZHWZOLbqcXbOW+8jNl4pj8amaWARhS9Ph9pa6wzP/G2v5R4s4FKUKC9eL4qof62hkq 9Zn0VEqa5rd358M0/d8cBOswvVheDwgvpN3Wk+TOI67ZKLpcPVXhJlSPzWmF0fjbyiYd8J t+HH+Gn8GWW2drfoU5tIMrO4ScEnhsoznICLnkKMDOYsCPgPHQ/d4Z+O3xIejBwo7ShiXo wlP9ha+qKQweAXGkj9ok9Jqqiq98zADl/j5mZPQHXfYRaBTSOKRfEMKnI60iLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689794844; a=rsa-sha256; cv=none; b=i8GkQnjYIhyxBfWJI7wPfxMMR+AOGilJDtZ4sRywJkF8FIha+WhDqhL7gLa1gByDJNG+eF SiGR+cdAF1XC3xgj7nh59ixcKo8K9zr5V0cu3tWVxrD9Nkp+SxDhd+lOoz24j8BzJF0WRS M84cZbBq4R52cO2ntYREyhLY3wwMRmvJEGXbsVVvJCu91mcfEQn+/cjqgCZOO8060dSYJv +yLAX64sQep5rZxS0T4y0E9AjcQxu3Vm1UiKuJc4hv4hUNFZV0Dq7q8it+lpPR0pwynIfe 3GCSzQs7awRAcyBg3/ylZJ4jeHDqxtXVGtxvD4HJI+Jiyp3Sy7WCsdcKgZyNRQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R5m6h2Fhhz11Xn; Wed, 19 Jul 2023 19:27:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36JJROZG015937; Wed, 19 Jul 2023 19:27:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36JJROQq015936; Wed, 19 Jul 2023 19:27:24 GMT (envelope-from git) Date: Wed, 19 Jul 2023 19:27:24 GMT Message-Id: <202307191927.36JJROQq015936@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 173a5b23dbf7 - main - emulators/visualboyadvance-m: Fix build with llvm16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 173a5b23dbf7adc8b790e5e90ace2db2a4c26416 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=173a5b23dbf7adc8b790e5e90ace2db2a4c26416 commit 173a5b23dbf7adc8b790e5e90ace2db2a4c26416 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-19 17:56:58 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-19 19:27:14 +0000 emulators/visualboyadvance-m: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- emulators/visualboyadvance-m/Makefile | 47 +++++++++++++++-------------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/emulators/visualboyadvance-m/Makefile b/emulators/visualboyadvance-m/Makefile index 8c0f5daeef7d..87b9355fb47c 100644 --- a/emulators/visualboyadvance-m/Makefile +++ b/emulators/visualboyadvance-m/Makefile @@ -15,38 +15,40 @@ LIB_DEPENDS= libpng.so:graphics/png USES= cmake:insource,noninja dos2unix gl gnome \ pkgconfig sdl xorg DOS2UNIX_REGEX= .*\.(c|cpp|h|ypp) -USE_XORG= x11 xext +USE_CXXSTD= c++11 +USE_GITHUB= yes +GH_TAGNAME= VBA-M_Beta_2 USE_GL= gl glu USE_SDL= sdl +USE_XORG= x11 xext + CMAKE_ARGS= -DVERSION:STRING="${PORTVERSION}" \ -DSYSCONFDIR:STRING="${PREFIX}/etc" \ -DENABLE_WX:BOOL=no -USE_GITHUB= yes -GH_TAGNAME= VBA-M_Beta_2 - OPTIONS_DEFINE= NLS FFMPEG LINK LIRC DEBUGGER -OPTIONS_MULTI= INTERFACE -OPTIONS_MULTI_INTERFACE= GVBAM SDL OPTIONS_DEFINE_i386= ASMCORE ASMSCALERS OPTIONS_DEFAULT= DEBUGGER SDL +OPTIONS_MULTI= INTERFACE +OPTIONS_MULTI_INTERFACE= GVBAM SDL OPTIONS_SUB= yes -GVBAM_DESC= Enable GTK interface -SDL_DESC= Enable SDL interface +ASMCORE_DESC= Enable x86 ASM CPU cores (i386 only) +ASMSCALERS_DESC= Enable x86 ASM graphic filters (i386 only) +DEBUGGER_DESC= Enable the debugger FFMPEG_DESC= Enable FFmpeg A/V recording +GVBAM_DESC= Enable GTK interface LINK_DESC= Enable GBA linking functionality LIRC_DESC= Enable LIRC infrared support -DEBUGGER_DESC= Enable the debugger -ASMCORE_DESC= Enable x86 ASM CPU cores (i386 only) -ASMSCALERS_DESC= Enable x86 ASM graphic filters (i386 only) +SDL_DESC= Enable SDL interface ASMCORE_BUILD_DEPENDS= as:devel/binutils ASMCORE_CMAKE_BOOL= ENABLE_ASM_CORE - ASMSCALERS_BUILD_DEPENDS= nasm:devel/nasm ASMSCALERS_CMAKE_BOOL= ENABLE_ASM_SCALERS - +DEBUGGER_CMAKE_BOOL= ENABLE_DEBUGGER +FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg +FFMPEG_CMAKE_BOOL= ENABLE_FFMPEG GVBAM_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgdkglext-x11-1.0.so:x11-toolkits/gtkglext \ @@ -54,24 +56,15 @@ GVBAM_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ GVBAM_USES= desktop-file-utils GVBAM_USE= GNOME=gtkmm24,pangox-compat GVBAM_CMAKE_BOOL= ENABLE_GTK - -SDL_IMPLIES= DEBUGGER -SDL_CMAKE_BOOL= ENABLE_SDL - -DEBUGGER_CMAKE_BOOL= ENABLE_DEBUGGER - -FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg -FFMPEG_CMAKE_BOOL= ENABLE_FFMPEG - -NLS_USES= gettext -NLS_CMAKE_BOOL= ENABLE_NLS - -LINK_CMAKE_BOOL= ENABLE_LINK LINK_LIB_DEPENDS= libsfml-system.so:devel/sfml - +LINK_CMAKE_BOOL= ENABLE_LINK LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_RUN_DEPENDS= lircd:comms/lirc LIRC_CMAKE_BOOL= ENABLE_LIRC +NLS_USES= gettext +NLS_CMAKE_BOOL= ENABLE_NLS +SDL_IMPLIES= DEBUGGER +SDL_CMAKE_BOOL= ENABLE_SDL .include