From nobody Thu Feb 02 06:39:08 2023 X-Original-To: dev-commits-ports-all@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 4P6pzJ4TJhz3c2DL; Thu, 2 Feb 2023 06:39:08 +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 4P6pzJ3zFJz4K4B; Thu, 2 Feb 2023 06:39:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675319948; 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=Txrhv0MTIh37K24KCrauVAI1swIT2VPu/I9XGb1f41Q=; b=az+XcFPtJB87eh89PH9bOUhofpR4p9VEucKTeHplxnac+x186xv9jq4MHktaTm77AIkY7S +0MNDBFgyy81UX7jNF/bYJ5s0lqNnVql+ejG0SP3q6vIxPY2SKe3fiN82FQ0UmS1FiMW8Z 9xt0YdjEW86JbwvFGOFfAw6iDNWl5OPB0nz00SZaFJ2fxoKLXCNfqP+hwUOjnWDcedtTA4 vhAhvCSDUJ6JFwhMVSBdanPDvXsS0yPciSkW3YdiNMDn6b8m2Ov84bsKFuT0OWeWlcEQVo o7yMKQzEgqhfwjdbX4AUAF0WVdP7tV7qh+3SQIe8zdFk9avMDKnDaRm1ajh2Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675319948; 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=Txrhv0MTIh37K24KCrauVAI1swIT2VPu/I9XGb1f41Q=; b=Z+scoA2Mf18bCBV/bZH5Wdk+jFGakN3NesWai1wg5HIT2yTvYpKskFUxM09Tn7A+u59Zyw kXXmOVvyqzy+MUG96TGR16VREwFjML/EI0s20QtG5FKPxwJ1Vf+wktWHZILYcgcAP0N3cL f2yIbPMp5mQmBZBBaBeouBe/zGYjNHyXIuNp/XmXDa3sYms5g7Tc5XBdKj7RfFdG4i+awI rl69R/11rplBJ1ClVEKDjNVd7wu+cOAylPKUdtskpJhVIsHzW9eAMSeKkLeuYfcUBfeOW6 jZJ2Uksry0160CgMlmmSPr2AaRTlJiDvu0dCistcL4QGVUc4U99c6od4ce256Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675319948; a=rsa-sha256; cv=none; b=OTJ/3sZRJIg8yo46OCYgkoRIvGwoTJsNGqQhvzXenxZEBTm6EAHaXPtToL6AiXAY/2DhIK KTOtuuh0hlWNzV7kuQraGDnAjN8PW5V3C4GK0RM6M/IiojgozN5Ar0B8Q0CVymUv0ee5LA KP4DeJ5KjBFHcj0X86yMP+IY5QI1od20f8VFTobsJ1Y3pWJjCxoScV1cLSqS2CRB04VDCm AbX5eRymP/LYGToDFg2cAPq3tDVb2oRSAbZz2RstS/zjprX0nYf8RZgrCpw4x0jncEXgiG D67TsCs6W44Sv0oKRRrDo+w8U3DsUM6U/wjVTaDD14yOsyq7dhBnRR6aFEupFg== 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 4P6pzJ321dzlLv; Thu, 2 Feb 2023 06:39:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3126d8w8075909; Thu, 2 Feb 2023 06:39:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3126d8VA075908; Thu, 2 Feb 2023 06:39:08 GMT (envelope-from git) Date: Thu, 2 Feb 2023 06:39:08 GMT Message-Id: <202302020639.3126d8VA075908@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Jan Beich Subject: git: 3eff87c4dc8d - 2023Q1 - emulators/yuzu: switch to newer libc++ List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q1 X-Git-Reftype: branch X-Git-Commit: 3eff87c4dc8d063ac99abb4569c90a20291cbfd5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q1 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=3eff87c4dc8d063ac99abb4569c90a20291cbfd5 commit 3eff87c4dc8d063ac99abb4569c90a20291cbfd5 Author: Jan Beich AuthorDate: 2023-01-31 01:50:14 +0000 Commit: Jan Beich CommitDate: 2023-02-02 06:39:02 +0000 emulators/yuzu: switch to newer libc++ Disable src/common/polyfill_ranges.h as it's not tested by upstream CI and breaks build with recent libc++ versions. (cherry picked from commit 71ce3cb476ac72829c957d0d1a739aa5ddad993a) --- emulators/yuzu/Makefile | 19 ++++++++++++++----- emulators/yuzu/distinfo | 4 ++-- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile index ab506cfb21ce..2a9a5a6f2127 100644 --- a/emulators/yuzu/Makefile +++ b/emulators/yuzu/Makefile @@ -1,5 +1,6 @@ PORTNAME= yuzu PORTVERSION= s20230130 +PORTREVISION= 1 CATEGORIES= emulators wayland .if make(makesum) MASTER_SITES= https://api.yuzu-emu.org/gamedb/?dummy=/:gamedb @@ -71,7 +72,6 @@ CMAKE_ON+= BUNDLE_SPEEX # only used by cubeb tests CMAKE_OFF= YUZU_CHECK_SUBMODULES YUZU_USE_EXTERNAL_SDL2 YUZU_USE_EXTERNAL_VULKAN_HEADERS CMAKE_OFF+= ${CMAKE_TESTING_ON} CMAKE_TESTING_ON= YUZU_TESTS -CXXFLAGS+= -D_LIBCPP_HAS_NO_INCOMPLETE_RANGES # common/polyfill_ranges.h LDFLAGS+= -Wl,--as-needed # Qt5Network ELF_FEATURES= ${PLIST_FILES:Mbin/*:S/^/+wxneeded:/} PLIST_FILES= bin/${PORTNAME}-cmd \ @@ -151,17 +151,26 @@ post-patch-VAAPI-off: @${REINPLACE_CMD} -i .nova '/pkg_check.*libva/d' \ ${WRKSRC}/CMakeLists.txt -# libc++ >= 14 defines std::ranges outside -D_LIBCPP_HAS_NO_INCOMPLETE_RANGES -.if exists(/usr/include/c++/v1/__memory/concepts.h) +# XXX Drop after FreeBSD 13.2 EOL around 2024-05-01 (don't forget distinfo) +.if !exists(/usr/include/c++/v1/__ranges/as_rvalue_view.h) || make(makesum) || make(fetch) +. if !exists(/usr/include/c++/v1/__memory/concepts.h) +USES+= llvm:min=14,build +CC= clang${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +CPP= clang-cpp${LLVM_VERSION} +CONFIGURE_ENV+= CC="${CC}" CXX="${CXX}" CPP="${CPP}" +. endif + # XXX Move into separate port and standardize via USES -GH_TUPLE+= llvm:llvm-project:llvmorg-13.0.1:libcxx +GH_TUPLE+= llvm:llvm-project:llvmorg-16.0.0-rc1:libcxx CXXFLAGS+= -nostdinc++ -isystem${WRKDIR}/libcxx_prefix/include/c++/v1 -# Don't link against old libc++ to avoid ABI mismatch in Qt +# Don't link against new libc++ to avoid ABI mismatch in Qt #LDFLAGS+= -nostdlib++ -L${WRKDIR}/libcxx_prefix/lib -l:libc++.a -lcxxrt pre-configure: bundled-libcxx bundled-libcxx: @${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS:M*Ninja*} \ + -DLIBCXX_INCLUDE_BENCHMARKS:BOOL=OFF \ -DCMAKE_INSTALL_PREFIX:PATH=${WRKDIR}/libcxx_prefix \ -B ${WRKDIR}/libcxx_build -S ${WRKSRC_libcxx}/libcxx @${DO_MAKE_BUILD:NDESTDIR*} install -C ${WRKDIR}/libcxx_build diff --git a/emulators/yuzu/distinfo b/emulators/yuzu/distinfo index e967daffaf40..a68b4ac367a4 100644 --- a/emulators/yuzu/distinfo +++ b/emulators/yuzu/distinfo @@ -21,7 +21,7 @@ SHA256 (kinetiknz-cubeb-cubeb-0.2-1350-gf79e0cf_GH0.tar.gz) = 8629757290774a34ed SIZE (kinetiknz-cubeb-cubeb-0.2-1350-gf79e0cf_GH0.tar.gz) = 220847 SHA256 (yhirose-cpp-httplib-v0.10.8-1-g305a7ab_GH0.tar.gz) = 2b8ebbe60c5fab1254e454518108cb8da5ee3a07e1cf9f432448d985efe4a003 SIZE (yhirose-cpp-httplib-v0.10.8-1-g305a7ab_GH0.tar.gz) = 620778 -SHA256 (llvm-llvm-project-llvmorg-13.0.1_GH0.tar.gz) = 09c50d558bd975c41157364421820228df66632802a4a6a7c9c17f86a7340802 -SIZE (llvm-llvm-project-llvmorg-13.0.1_GH0.tar.gz) = 147290251 +SHA256 (llvm-llvm-project-llvmorg-16.0.0-rc1_GH0.tar.gz) = e1b8d991921c8e9564359b17955878716dc68201ded4699c6b175b14fe3085aa +SIZE (llvm-llvm-project-llvmorg-16.0.0-rc1_GH0.tar.gz) = 180127224 SHA256 (c17d71240b23.patch) = 4aaf5522ec3f7d393cec59638220d6142489c4e946060ec94444ca3f47e2b2a7 SIZE (c17d71240b23.patch) = 7562