summaryrefslogtreecommitdiff
path: root/www-client/elinks/files/elinks-0.13.4-ruby-gcc10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/elinks/files/elinks-0.13.4-ruby-gcc10.patch')
-rw-r--r--www-client/elinks/files/elinks-0.13.4-ruby-gcc10.patch13
1 files changed, 13 insertions, 0 deletions
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 000000000000..380dce51f0dc
--- /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);