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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 08C55158011 for ; Fri, 15 Jul 2022 01:26:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 240CBE113F; Fri, 15 Jul 2022 01:26:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F0600E1143 for ; Fri, 15 Jul 2022 01:26:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E847F340C37 for ; Fri, 15 Jul 2022 01:26:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E5D84543 for ; Fri, 15 Jul 2022 01:26:28 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1657848257.b5bc12613a5c80d15642ffaa13f421330674fff3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/julius/files/, games-strategy/julius/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/julius/files/julius-1.6.0-musl-fix-execinfo.patch games-strategy/julius/julius-1.6.0.ebuild X-VCS-Directories: games-strategy/julius/files/ games-strategy/julius/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b5bc12613a5c80d15642ffaa13f421330674fff3 X-VCS-Branch: master Date: Fri, 15 Jul 2022 01:26: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: 8ceeb9f3-bc33-4589-b2b5-f1e02fdfb6d7 X-Archives-Hash: d57454125c4e4e6c99404db6a8d2c144 commit: b5bc12613a5c80d15642ffaa13f421330674fff3 Author: brahmajit das gmail com> AuthorDate: Mon Jul 11 15:42:15 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jul 15 01:24:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5bc1261 games-strategy/julius: Fix building on musl execinfo is not available on musl, hence only include that header on GLIBC systems Closes: https://bugs.gentoo.org/829246 Signed-off-by: brahmajit das gmail.com> Closes: https://github.com/gentoo/gentoo/pull/26349 Signed-off-by: Sam James gentoo.org> .../julius/files/julius-1.6.0-musl-fix-execinfo.patch | 14 ++++++++++++++ games-strategy/julius/julius-1.6.0.ebuild | 1 + 2 files changed, 15 insertions(+) diff --git a/games-strategy/julius/files/julius-1.6.0-musl-fix-execinfo.patch b/games-strategy/julius/files/julius-1.6.0-musl-fix-execinfo.patch new file mode 100644 index 000000000000..08a136ef5cb4 --- /dev/null +++ b/games-strategy/julius/files/julius-1.6.0-musl-fix-execinfo.patch @@ -0,0 +1,14 @@ +# Fix building on musl +# +# Closes: https://bugs.gentoo.org/829246 +--- a/src/core/backtrace.c ++++ b/src/core/backtrace.c +@@ -2,7 +2,7 @@ + + #include "core/log.h" + +-#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && !defined(__vita__) && !defined(__SWITCH__) && !defined(__ANDROID__) ++#if defined(__GNUC__) && defined(__GLIBC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && !defined(__vita__) && !defined(__SWITCH__) && !defined(__ANDROID__) + + #include + diff --git a/games-strategy/julius/julius-1.6.0.ebuild b/games-strategy/julius/julius-1.6.0.ebuild index 5730e843db21..9852bbf898ab 100644 --- a/games-strategy/julius/julius-1.6.0.ebuild +++ b/games-strategy/julius/julius-1.6.0.ebuild @@ -24,6 +24,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-1.4.1-rename.patch + "${FILESDIR}"/${PN}-1.6.0-musl-fix-execinfo.patch ) src_install() {