public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/elinks/files/, www-client/elinks/
Date: Fri,  7 Aug 2020 17:58:06 +0000 (UTC)	[thread overview]
Message-ID: <1596823069.977cfe6dac1a14198581c281213d8cff4be1e9b5.sam@gentoo> (raw)

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);


             reply	other threads:[~2020-08-07 17:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-07 17:58 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-24  2:28 [gentoo-commits] repo/gentoo:master commit in: www-client/elinks/files/, www-client/elinks/ Sam James
2023-12-28  2:19 Sam James
2023-07-03 15:16 Sam James
2022-10-13 19:56 Sam James
2017-10-22 16:55 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1596823069.977cfe6dac1a14198581c281213d8cff4be1e9b5.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox