From nobody Wed Nov 06 15:07:50 2024 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 4Xk7qV647hz5cgjj; Wed, 06 Nov 2024 15:07:50 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xk7qV5Z8zz4FMB; Wed, 6 Nov 2024 15:07:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730905670; 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=ndk1a6VWIIR/w3HpBwJZX4h7rku3oPybCH3Z4cz1vaQ=; b=fnxVqL4y0UxlZWrdJu1ywkVoyu8LwETbeuBW7/yaFzGExHrWXXJIR0L/n6afFkOEkYnSAD oczmTnoZsR5hVwIVbdwsIKWxYNOgVUxJ5CFfoMV9kJmmgCkzESYEuAqE/GDR6PKoGiKlDL ZP1x4EUaK5PqiX/ZBQophFCgN1QGrdbve1rvCv63ZLT1YS+Pq2lyR2p4FKU094OzhveWSv GaWAg/gBF5o2j20Ji0zQkXlM3qZFao1zlE61xyU8X/Z7zl7FUwQX2QugzhWpv2KZEUZ6X/ d4ErhaInbXAO0mLy8X0Fql2ZIqz6MraTQC/xz5at+uo/Sb/wVfa+BVwhH6kjWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730905670; 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=ndk1a6VWIIR/w3HpBwJZX4h7rku3oPybCH3Z4cz1vaQ=; b=pdZDYheP3ly8zTef/k4+dr0vc0VuSeYwEQc9UlgCiVafCaPSw16emmoiMVhV5/5EA7pqF4 TOhq5S1fNFdqtWx7PBKsn2HNSVLuDk5gEqXvf/PliYFV8ABPMUw8iV84UGJwCpULEA/tLT 5Lz96+8dNVZdADE/aGYQGcJZyA2HU7Q/mnH1pxp/Wh/SLxJt9cT78Eo93l9ALB7SMFLDKd z0giK8NEWbVLKiM2J4vbr1YwhGkc476y/0SIJxdG1X2EqUh0UZAyzLuYQOBnafUHASJ2jI EVj42pEcETea3CJ7hXrq9j+j+2yt8hQMndu3Pzb1bujQGqHqDFUn3E6vJQddLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730905670; a=rsa-sha256; cv=none; b=yMe6EaKgYwsmboIwHwGVVlvmEIAzgY2atAFXTBlOCdvwEuY1hm49EjrpDa6zPdXE/4wmub ebu6KGGzNYXoJK8cwXWDEAP1SPE6w4LSVuoGJSAcsVKRWxsxMP1WFNN9Vgi3+66FldUTDH doJs1aUMnEZZbx2ZxNDWZGG9GK+9nX4LR9+D1aYcyzZQwYJsLFFoGevjH9cghPz2IRS5Im D+pubxrHJ27d1QK0ai+KFkLKN0MRksERjFXWawqJEEkM3daEaoXbRjhu3i55vFUo2DytCM AK83DsQXnaYfclPjlMutY+43+RACYBGjMKaEvtw7kV66IOMaKeao65Iv9KtBvg== 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 4Xk7qV59hWz15b5; Wed, 6 Nov 2024 15:07:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A6F7o9R023651; Wed, 6 Nov 2024 15:07:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A6F7oEA023648; Wed, 6 Nov 2024 15:07:50 GMT (envelope-from git) Date: Wed, 6 Nov 2024 15:07:50 GMT Message-Id: <202411061507.4A6F7oEA023648@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dima Panov Subject: git: 2456bb083ea3 - main - games/openmw: fix to sol's optional::emplace for clang++ 19 (+) 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fluffy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2456bb083ea37de8960e747bd4a07a441e663ee4 Auto-Submitted: auto-generated The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=2456bb083ea37de8960e747bd4a07a441e663ee4 commit 2456bb083ea37de8960e747bd4a07a441e663ee4 Author: Dima Panov AuthorDate: 2024-11-06 15:05:57 +0000 Commit: Dima Panov CommitDate: 2024-11-06 15:05:57 +0000 games/openmw: fix to sol's optional::emplace for clang++ 19 (+) Obtained from: https://github.com/ThePhD/sol2/pull/1606/ --- .../files/patch-extern_sol3_sol_optional__implementation.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/games/openmw/files/patch-extern_sol3_sol_optional__implementation.hpp b/games/openmw/files/patch-extern_sol3_sol_optional__implementation.hpp new file mode 100644 index 000000000000..ac31cf924f51 --- /dev/null +++ b/games/openmw/files/patch-extern_sol3_sol_optional__implementation.hpp @@ -0,0 +1,12 @@ +--- extern/sol3/sol/optional_implementation.hpp.orig 2023-08-08 09:23:20 UTC ++++ extern/sol3/sol/optional_implementation.hpp +@@ -2191,7 +2191,8 @@ namespace sol { + static_assert(std::is_constructible::value, "T must be constructible with Args"); + + *this = nullopt; +- this->construct(std::forward(args)...); ++ new (static_cast(this)) optional(std::in_place, std::forward(args)...); ++ return **this; + } + + /// Swaps this optional with the other.