From nobody Tue Apr 18 21:50:47 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 4Q1Hfc6z0Tz45k3Z; Tue, 18 Apr 2023 21:50:48 +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 4Q1Hfc1mmPz45vW; Tue, 18 Apr 2023 21:50:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681854648; 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=CR7fupm4UsAa6E2WjZgUqJoUP4FldWh2pEKH+5P+W/s=; b=xx6dieDNMufO6E5YunYd2T0v+u2tCCZUmLZCgZU2m0KQLKvk6aGYhl+7jtkevpQBMCQwGB qYBITIM2KU4fX8fACwbPkDD5BAzMu6vGQXRBjCD125fsjy/upQxrSVzyEUIWIWWRlSbOGB rPR1sryGp2R2KczCg0Il/ZhehN/FbdoE0F9d7H5Te4QFqchrtZ1/yTc1cNpqG6DZIItTOu nwMZX7mW9FkWYzBsiAOtkmsDCnCrFJHiQ78hDhrddV9kDmHN2vp/s6aAkswyMb+4qlnQSX mm5XQQKw0CLMF530v10TQev8GwrwN7bW8QCKyTTDWo/7XgEcGVfmlAjE6NxSIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681854648; 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=CR7fupm4UsAa6E2WjZgUqJoUP4FldWh2pEKH+5P+W/s=; b=MqVqBWstPrQGohBXPUknRIlzax4Q1YxI/7t89yeq+WnkCWMT1lOGVviqdRD6qwra9+lQJc KiZrYLklD9awFpQkRJGOZIvGKBXrYHy5WHMH6wPLCOmIgf2Iv6fWeJvUH2AZzgb06ys8aT YCCry4ppARcNPor4WKlX3zrFXvBrw/g0hKVaqQTKXxRCvz0cI17Z42DNjl6sZheJQyfXiu b4GwOQIK0vXaDzWys4OILzT/eCoS3XVod7FAjvfRsJFfKTWtI/8qKv2PJA/QP6SINt9cw/ kPIbHkLC2crWBs277QGIndG9b9nafL5tKMlt0CvsfKi4p5E1uw7yK5MYI8ZFzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681854648; a=rsa-sha256; cv=none; b=Vpj1bL3ZIELexVIcbtimDcsXaLZgtx1871xgM6GR6I6/WaeQfhBIZRlzIFeJKRrzeuHpWj g/Jibv3C+6SiifQbh0PeZG/EpWI2mEBXi0UHDHp+oEMUW6Z677iR3nVhA4CG5Bzkj3nhg6 08xLm70hhOZlTMqexFxe+gmSuvg5IcRnQcLI8N7ozzTOpM4INrqAXytem2MtYDof92qIYA 8+1Tj7OGb94MtBek08PyZ8t61Ve2kEtR3NrQ4Qn2Zds17BcnEaa6Cj1aMCqs3RFMFQ5Rlb C1e+h3cWf86zPqxIBjkHsxf2MgYprUnt7J+cKQad9Bxul3PXhlGdFigvQd/igw== 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 4Q1Hfc0Fx3zTHl; Tue, 18 Apr 2023 21:50:48 +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 33ILolZh054701; Tue, 18 Apr 2023 21:50:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33ILolgO054700; Tue, 18 Apr 2023 21:50:47 GMT (envelope-from git) Date: Tue, 18 Apr 2023 21:50:47 GMT Message-Id: <202304182150.33ILolgO054700@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: 7e6d69b2872e - main - devel/llvm13: Fix build with swig 4.1.1 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7e6d69b2872eb0f52b45d0ae8f1ed1f072a5501b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e6d69b2872eb0f52b45d0ae8f1ed1f072a5501b commit 7e6d69b2872eb0f52b45d0ae8f1ed1f072a5501b Author: Po-Chuan Hsieh AuthorDate: 2023-04-18 21:39:18 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-18 21:39:18 +0000 devel/llvm13: Fix build with swig 4.1.1 PR: 270720 --- devel/llvm13/files/patch-swig | 51 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/devel/llvm13/files/patch-swig b/devel/llvm13/files/patch-swig new file mode 100644 index 000000000000..8ff3c25d5921 --- /dev/null +++ b/devel/llvm13/files/patch-swig @@ -0,0 +1,51 @@ +--- lldb/bindings/CMakeLists.txt.orig 2022-01-20 21:31:59 UTC ++++ lldb/bindings/CMakeLists.txt +@@ -26,8 +26,6 @@ set(SWIG_COMMON_FLAGS + -features autodoc + -I${LLDB_SOURCE_DIR}/include + -I${CMAKE_CURRENT_SOURCE_DIR} +- -D__STDC_LIMIT_MACROS +- -D__STDC_CONSTANT_MACROS + ${DARWIN_EXTRAS} + ) + +--- lldb/bindings/interface/SBValueList.i.orig 2022-01-20 21:31:59 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/interfaces.swig.orig 2022-01-20 21:31:59 UTC ++++ lldb/bindings/interfaces.swig +@@ -1,8 +1,5 @@ + /* Various liblldb typedefs that SWIG needs to know about. */ + #define __extension__ /* Undefine GCC keyword to make Swig happy when processing glibc's stdint.h. */ +-/* The ISO C99 standard specifies that in C++ implementations limit macros such +- as INT32_MAX should only be defined if __STDC_LIMIT_MACROS is. */ +-#define __STDC_LIMIT_MACROS + %include "stdint.i" + + %include "lldb/lldb-defines.h" +--- lldb/bindings/python/python-typemaps.swig.orig 2022-01-20 21:31:59 UTC ++++ lldb/bindings/python/python-typemaps.swig +@@ -439,7 +439,7 @@ bool SetNumberFromPyObject(double &number, PyO + + %typemap(out) lldb::FileSP { + $result = nullptr; +- lldb::FileSP &sp = $1; ++ const lldb::FileSP &sp = $1; + if (sp) { + PythonFile pyfile = unwrapOrSetPythonException(PythonFile::FromFile(*sp)); + if (!pyfile.IsValid())