From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1194743-garchives=archives.gentoo.org@lists.gentoo.org> 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 779BE138359 for <garchives@archives.gentoo.org>; Fri, 7 Aug 2020 17:58:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7117E08AD; Fri, 7 Aug 2020 17:58:10 +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 8A4A2E08AD for <gentoo-commits@lists.gentoo.org>; Fri, 7 Aug 2020 17:58:10 +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 78CAD34F4AC for <gentoo-commits@lists.gentoo.org>; Fri, 7 Aug 2020 17:58:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C0FB7310 for <gentoo-commits@lists.gentoo.org>; Fri, 7 Aug 2020 17:58:06 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1596823069.977cfe6dac1a14198581c281213d8cff4be1e9b5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/elinks/files/, www-client/elinks/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/elinks/elinks-0.13.4.ebuild www-client/elinks/elinks-9999.ebuild www-client/elinks/files/elinks-0.13.4-ruby-gcc10.patch X-VCS-Directories: www-client/elinks/files/ www-client/elinks/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 977cfe6dac1a14198581c281213d8cff4be1e9b5 X-VCS-Branch: master Date: Fri, 7 Aug 2020 17:58:06 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 224fb946-b22e-4bf1-93e5-79187ec0491e X-Archives-Hash: 83d5b5b069028c97e67b2c0bd46d6673 commit: 977cfe6dac1a14198581c281213d8cff4be1e9b5 Author: Felix Janda <felix.janda <AT> posteo <DOT> de> AuthorDate: Sun Aug 2 21:27:57 2020 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Aug 7 17:57:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=977cfe6d www-client/elinks: fix compilation with -fno-common/gcc10 Bug: https://bugs.gentoo.org/730658 Signed-off-by: Felix Janda <felix.janda <AT> posteo.de> Signed-off-by: Sam James <sam <AT> gentoo.org> www-client/elinks/elinks-0.13.4.ebuild | 1 + www-client/elinks/elinks-9999.ebuild | 1 + www-client/elinks/files/elinks-0.13.4-ruby-gcc10.patch | 13 +++++++++++++ 3 files changed, 15 insertions(+) diff --git a/www-client/elinks/elinks-0.13.4.ebuild b/www-client/elinks/elinks-0.13.4.ebuild index 82731e98cab..c4b601e544b 100644 --- a/www-client/elinks/elinks-0.13.4.ebuild +++ b/www-client/elinks/elinks-0.13.4.ebuild @@ -46,6 +46,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${PN}-9999-parallel-make.patch + "${FILESDIR}"/${P}-ruby-gcc10.patch ) src_prepare() { diff --git a/www-client/elinks/elinks-9999.ebuild b/www-client/elinks/elinks-9999.ebuild index 16eb304d3e7..ce228d3832a 100644 --- a/www-client/elinks/elinks-9999.ebuild +++ b/www-client/elinks/elinks-9999.ebuild @@ -46,6 +46,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${P}-parallel-make.patch + "${FILESDIR}"/${PN}-0.13.4-ruby-gcc10.patch ) src_unpack() { diff --git a/www-client/elinks/files/elinks-0.13.4-ruby-gcc10.patch b/www-client/elinks/files/elinks-0.13.4-ruby-gcc10.patch new file mode 100644 index 00000000000..380dce51f0d --- /dev/null +++ b/www-client/elinks/files/elinks-0.13.4-ruby-gcc10.patch @@ -0,0 +1,13 @@ +https://github.com/rkd77/felinks/pull/61 + +--- a/src/scripting/ruby/core.h ++++ b/src/scripting/ruby/core.h +@@ -21,7 +21,7 @@ + #define RB_ERRINFO (ruby_errinfo) + #endif + +-VALUE erb_module; ++extern VALUE erb_module; + + void alert_ruby_error(struct session *ses, unsigned char *msg); + void erb_report_error(struct session *ses, int state);