msrb pushed to jruby (f22). "Add forgotten patch (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 15 12:50:38 UTC 2015


>From 2d92399ea132938a20ee5ae99576dbc030d72400 Mon Sep 17 00:00:00 2001
From: Michal Srb <msrb at redhat.com>
Date: Sun, 22 Feb 2015 12:46:54 +0100
Subject: Add forgotten patch

This happens to me all the time...

diff --git a/jruby-include-unbundled-jansi.patch b/jruby-include-unbundled-jansi.patch
new file mode 100644
index 0000000..cd86f53
--- /dev/null
+++ b/jruby-include-unbundled-jansi.patch
@@ -0,0 +1,12 @@
+diff --git a/lib/ruby/shared/readline.rb b/lib/ruby/shared/readline.rb
+index 7038a28..f240ae6 100644
+--- a/lib/ruby/shared/readline.rb
++++ b/lib/ruby/shared/readline.rb
+@@ -1,6 +1,7 @@
+ # load jline and our readline into classpath
+ begin
+   require File.dirname(__FILE__) + "/readline/jline-2.11.jar"
++  require File.dirname(__FILE__) + "/readline/jansi.jar"
+   require File.dirname(__FILE__) + "/readline/readline.jar"
+ rescue LoadError
+   # try to proceed as though classes are already in classloader
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/jruby.git/commit/?h=f22&id=2d92399ea132938a20ee5ae99576dbc030d72400


More information about the scm-commits mailing list