From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 86AA81382C5 for ; Sat, 8 May 2021 22:24:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEF70E03EC; Sat, 8 May 2021 22:24:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9107CE03EC for ; Sat, 8 May 2021 22:24:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0AF95340ED1 for ; Sat, 8 May 2021 22:24:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6508D59C for ; Sat, 8 May 2021 22:24:28 +0000 (UTC) From: "Ross Charles Campbell" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ross Charles Campbell" Message-ID: <1620512658.f739c38fe13101375ee632c644aac795369aed5f.rossbridger@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-games/godot/files/, dev-games/godot/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-games/godot/files/godot-3.3-fix-llvm-build.patch dev-games/godot/godot-3.3.ebuild X-VCS-Directories: dev-games/godot/files/ dev-games/godot/ X-VCS-Committer: rossbridger X-VCS-Committer-Name: Ross Charles Campbell X-VCS-Revision: f739c38fe13101375ee632c644aac795369aed5f X-VCS-Branch: dev Date: Sat, 8 May 2021 22:24:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 77db0d0c-3ed0-4fb8-b3ba-c3a0db4cb17a X-Archives-Hash: d3ea5da70b0339db0b690196a004237b commit: f739c38fe13101375ee632c644aac795369aed5f Author: Ross Charles Campbell gmail com> AuthorDate: Sat May 8 22:21:51 2021 +0000 Commit: Ross Charles Campbell gmail com> CommitDate: Sat May 8 22:24:18 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f739c38f dev-games/godot: Fix building issues on 3.3 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Ross Charles Campbell gmail.com> .../godot/files/godot-3.3-fix-llvm-build.patch | 36 ++++++++++++++++++++++ dev-games/godot/godot-3.3.ebuild | 3 +- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/dev-games/godot/files/godot-3.3-fix-llvm-build.patch b/dev-games/godot/files/godot-3.3-fix-llvm-build.patch new file mode 100644 index 000000000..7cb5823eb --- /dev/null +++ b/dev-games/godot/files/godot-3.3-fix-llvm-build.patch @@ -0,0 +1,36 @@ +diff --git a/SConstruct b/SConstruct +index c30f533..388be69 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -174,6 +174,8 @@ opts.Add(BoolVariable("builtin_zstd", "Use the built-in Zstd library", True)) + # Compilation environment setup + opts.Add("CXX", "C++ compiler") + opts.Add("CC", "C compiler") ++opts.Add("AR", "Archiver") ++opts.Add("RANLIB", "Random Access Library Indexer") + opts.Add("LINK", "Linker") + opts.Add("CCFLAGS", "Custom flags for both the C and C++ compilers") + opts.Add("CFLAGS", "Custom flags for the C compiler") +diff --git a/platform/x11/detect.py b/platform/x11/detect.py +index ba5fb30..d907701 100644 +--- a/platform/x11/detect.py ++++ b/platform/x11/detect.py +@@ -129,7 +129,6 @@ def configure(env): + if "clang++" not in os.path.basename(env["CXX"]): + env["CC"] = "clang" + env["CXX"] = "clang++" +- env.extra_suffix = ".llvm" + env.extra_suffix + + if env["use_lld"]: + if env["use_llvm"]: +@@ -189,10 +188,6 @@ def configure(env): + env.Append(CCFLAGS=["-flto"]) + env.Append(LINKFLAGS=["-flto"]) + +- if not env["use_llvm"]: +- env["RANLIB"] = "gcc-ranlib" +- env["AR"] = "gcc-ar" +- + env.Append(CCFLAGS=["-pipe"]) + env.Append(LINKFLAGS=["-pipe"]) + diff --git a/dev-games/godot/godot-3.3.ebuild b/dev-games/godot/godot-3.3.ebuild index 5b217fa4a..29a02956d 100644 --- a/dev-games/godot/godot-3.3.ebuild +++ b/dev-games/godot/godot-3.3.ebuild @@ -56,12 +56,11 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${P}-fix-llvm-build.patch - "${FILESDIR}"/${P}-fix-CVE-2021-26825.patch ) src_prepare() { default - rm -r thirdparty/{bullet,enet,freetype,libogg,libpng,libtheora,libvorbis,libvpx,libwebp,mbedtls,miniupnpc,opus,pcre2,zlib,zstd} || die + rm -r thirdparty/{bullet,enet,freetype,libogg,libpng,libtheora,libvorbis,libvpx,libwebp,mbedtls,miniupnpc,opus,pcre2,zstd} || die } src_configure() {