From nobody Tue Apr 18 21:50:50 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 4Q1Hff4SJ9z45kVd; Tue, 18 Apr 2023 21:50: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q1Hff2qpcz46KD; Tue, 18 Apr 2023 21:50:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681854650; 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=M4V+MMnvVXXMh7T83SneCTiFd4aMXxFZGkolxSeIYhQ=; b=KJILhoZVyYcXeP48IzANcCOBj6Cmm7utLimqnM7/1sm2RMTrcKMn90ypaW/L8Y6sJJJMVD ItkzVd6x7jpEKEk7tgaES0IELp1Suj/+NriUzmFNRH0a1BAQUWvivWP/AMkZmXOftRQQBt zfNxO9+8RNiD4JDuxKBr0ZcJADjZpLKcFpbOMHc3j54oANUn3VbMj9Pjbquh5NAwx44IOi yfBCfjHDPU5sbf9Z7G1nmG+9mimYviaL8Rg5Qhgt/xK5cG4EOZNWDWGqD1tZ3HVMMqCavo VdL/goQUupZQXXibXUKf5YbTHr51TA5GqclkS/KY6RyCwKQloPN/42ReqWvW8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681854650; 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=M4V+MMnvVXXMh7T83SneCTiFd4aMXxFZGkolxSeIYhQ=; b=mWPjdJPk4P4cNzs9qG4gu2ccjtHmKOyEV7htrlA5YIallcy5TqSwMgC9PYhqMJzEb0Q/JE qAFbdP5jCtg0HdWnlPpaPFJOilj0rQwS7lORQlHjvXljFbdYUzevm8aIPyYzemB9Emrm/U /msDJGHW4Vr+QwiNxrUGkD+zvqst+Sb3An/JdtIBvayi3WUzcz4tipLAZDDcl/C2wwLnPs g8f4+KeYHeX4HtHsJ+0Zm5MKzLWZTkukMpGoT3Rj0T36AETb0YpdcJGbSkeL4rWg/NLrww 5h60DUMkXFZuDBAjhtpTVRS4xqwSn/SNwIErK0Eyv8qFqQI7U6fYozMNvJKBBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681854650; a=rsa-sha256; cv=none; b=Hgc2HQs8Ao8h2NVipGd8+fK5c8QM8tKCrhk7RjdJ3cPdqUFlrxdXqVrJpfGe8lePIeW8hQ 7KOaYJkhABtc79r09UXkmbDpiwDX+iQkdX8mBfmpK9jXyt3uDkaRHz5zAZ6T96J+/HpItu O+BUJA31+eoc/zHxBRjmnvFyxXieW1gSPKv6fmOK9gX5pbcilmNhTtLM36QqmJyeZtpuWw 4kC3kLxt6bRj4vVX8vmMngug1WWt+sZ6B7K3nZA4UXF392Fu6urckCvWC7To86Suurd4PB 50mVYsIrbQjh07oE9NQVkn7hCyeoqwsb7/P3Z8J8VSf10XJ+0wC9NdyDWyA9ew== 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 4Q1Hff1vY5zTQm; Tue, 18 Apr 2023 21:50:50 +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 33ILoowf054745; Tue, 18 Apr 2023 21:50:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33ILooJI054744; Tue, 18 Apr 2023 21:50:50 GMT (envelope-from git) Date: Tue, 18 Apr 2023 21:50:50 GMT Message-Id: <202304182150.33ILooJI054744@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: cec65646334e - main - devel/llvm15: Fix build with swig 4.1.1 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cec65646334ecd4856de745dd0ddd1a4b5a874bf Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=cec65646334ecd4856de745dd0ddd1a4b5a874bf commit cec65646334ecd4856de745dd0ddd1a4b5a874bf Author: Po-Chuan Hsieh AuthorDate: 2023-04-18 21:39:20 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-18 21:39:20 +0000 devel/llvm15: Fix build with swig 4.1.1 PR: 270720 --- devel/llvm15/files/patch-swig | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/devel/llvm15/files/patch-swig b/devel/llvm15/files/patch-swig new file mode 100644 index 000000000000..9e36f27b1f7a --- /dev/null +++ b/devel/llvm15/files/patch-swig @@ -0,0 +1,29 @@ +--- lldb/bindings/interface/SBValueList.i.orig 2022-11-29 10:05:58 UTC ++++ lldb/bindings/interface/SBValueList.i +@@ -103,7 +103,6 @@ class SBValueList (public) + GetFirstValueByName (const char* name) const; + + %extend { +- %nothreadallow; + std::string lldb::SBValueList::__str__ (){ + lldb::SBStream description; + const size_t n = $self->GetSize(); +@@ -122,7 +121,6 @@ class SBValueList (public) + --desc_len; + return std::string(desc, desc_len); + } +- %clearnothreadallow; + } + + #ifdef SWIGPYTHON +--- lldb/bindings/lua/lua-typemaps.swig.orig 2022-11-29 10:05:58 UTC ++++ lldb/bindings/lua/lua-typemaps.swig +@@ -247,7 +247,7 @@ LLDB_NUMBER_TYPEMAP(enum SWIGTYPE); + // Typemap for file handles (e.g. used in SBDebugger::GetOutputFileHandle) + + %typemap(out) lldb::FileSP { +- lldb::FileSP &sp = $1; ++ const lldb::FileSP &sp = $1; + if (sp && sp->IsValid()) { + luaL_Stream *p = (luaL_Stream *)lua_newuserdata(L, sizeof(luaL_Stream)); + p->closef = &LLDBSwigLuaCloseFileHandle;