1
0
forked from ports/opt

ruby: update to 2.1.2

This commit is contained in:
Juergen Daubert 2014-05-09 10:23:03 +02:00
parent 47167a4d83
commit adbf21930a
4 changed files with 9 additions and 29 deletions

View File

@ -1043,19 +1043,19 @@ drwxr-xr-x root/root usr/lib/ruby/gems/2.1/gems/rdoc-4.1.0/
drwxr-xr-x root/root usr/lib/ruby/gems/2.1/gems/rdoc-4.1.0/bin/
-rwxr-xr-x root/root usr/lib/ruby/gems/2.1/gems/rdoc-4.1.0/bin/rdoc
-rwxr-xr-x root/root usr/lib/ruby/gems/2.1/gems/rdoc-4.1.0/bin/ri
drwxr-xr-x root/root usr/lib/ruby/gems/2.1/gems/test-unit-2.1.1.0/
drwxr-xr-x root/root usr/lib/ruby/gems/2.1/gems/test-unit-2.1.1.0/bin/
-rwxr-xr-x root/root usr/lib/ruby/gems/2.1/gems/test-unit-2.1.1.0/bin/testrb
drwxr-xr-x root/root usr/lib/ruby/gems/2.1/gems/test-unit-2.1.2.0/
drwxr-xr-x root/root usr/lib/ruby/gems/2.1/gems/test-unit-2.1.2.0/bin/
-rwxr-xr-x root/root usr/lib/ruby/gems/2.1/gems/test-unit-2.1.2.0/bin/testrb
drwxr-xr-x root/root usr/lib/ruby/gems/2.1/specifications/
drwxr-xr-x root/root usr/lib/ruby/gems/2.1/specifications/default/
-rw-r--r-- root/root usr/lib/ruby/gems/2.1/specifications/default/bigdecimal-1.2.4.gemspec
-rw-r--r-- root/root usr/lib/ruby/gems/2.1/specifications/default/io-console-0.4.2.gemspec
-rw-r--r-- root/root usr/lib/ruby/gems/2.1/specifications/default/json-1.8.1.gemspec
-rw-r--r-- root/root usr/lib/ruby/gems/2.1/specifications/default/minitest-4.7.5.gemspec
-rw-r--r-- root/root usr/lib/ruby/gems/2.1/specifications/default/psych-2.0.3.gemspec
-rw-r--r-- root/root usr/lib/ruby/gems/2.1/specifications/default/psych-2.0.5.gemspec
-rw-r--r-- root/root usr/lib/ruby/gems/2.1/specifications/default/rake-10.1.0.gemspec
-rw-r--r-- root/root usr/lib/ruby/gems/2.1/specifications/default/rdoc-4.1.0.gemspec
-rw-r--r-- root/root usr/lib/ruby/gems/2.1/specifications/default/test-unit-2.1.1.0.gemspec
-rw-r--r-- root/root usr/lib/ruby/gems/2.1/specifications/default/test-unit-2.1.2.0.gemspec
drwxr-xr-x root/root usr/lib/ruby/site_ruby/
drwxr-xr-x root/root usr/lib/ruby/site_ruby/2.1/
drwxr-xr-x root/root usr/lib/ruby/site_ruby/2.1/x86_64-linux/

View File

@ -1,2 +1 @@
5df0d715820deec596984e90feb6a999 ruby-2.1.1-readline-6.3.patch
53edc33b2f590ecdd9f6a344b9d92d0d ruby-2.1.1.tar.bz2
ed9b8565bdeccb401d628ec8d54a0774 ruby-2.1.2.tar.bz2

View File

@ -4,16 +4,13 @@
# Depends on: gdbm libgmp openssl readline zlib libffi libyaml
name=ruby
version=2.1.1
release=2
source=(ftp://ftp.ruby-lang.org/pub/$name/2.1/$name-$version.tar.bz2
$name-$version-readline-6.3.patch)
version=2.1.2
release=1
source=(ftp://ftp.ruby-lang.org/pub/$name/2.1/$name-$version.tar.bz2)
build () {
cd $name-$version
patch -p0 -i $SRC/$name-$version-readline-6.3.patch
./configure --prefix=/usr \
--mandir=/usr/man \
--enable-shared \

View File

@ -1,16 +0,0 @@
# https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/45225
Index: ext/readline/readline.c
===================================================================
--- ext/readline/readline.c (revision 45224)
+++ ext/readline/readline.c (revision 45225)
@@ -1974,7 +1974,7 @@
rl_attempted_completion_function = readline_attempted_completion_function;
#if defined(HAVE_RL_PRE_INPUT_HOOK)
- rl_pre_input_hook = (Function *)readline_pre_input_hook;
+ rl_pre_input_hook = (rl_hook_func_t *)readline_pre_input_hook;
#endif
#ifdef HAVE_RL_CATCH_SIGNALS
rl_catch_signals = 0;