ruby: update to 1.8.5
This commit is contained in:
parent
50c6817c19
commit
7099675cd9
@ -8,9 +8,9 @@ drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/testrb
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libruby-static.a
|
||||
lrwxrwxrwx root/root usr/lib/libruby.so -> libruby.so.1.8.4
|
||||
lrwxrwxrwx root/root usr/lib/libruby.so.1.8 -> libruby.so.1.8.4
|
||||
-rwxr-xr-x root/root usr/lib/libruby.so.1.8.4
|
||||
lrwxrwxrwx root/root usr/lib/libruby.so -> libruby.so.1.8.5
|
||||
lrwxrwxrwx root/root usr/lib/libruby.so.1.8 -> libruby.so.1.8.5
|
||||
-rwxr-xr-x root/root usr/lib/libruby.so.1.8.5
|
||||
drwxr-xr-x root/root usr/lib/ruby/
|
||||
drwxr-xr-x root/root usr/lib/ruby/1.8/
|
||||
-rw-r--r-- root/root usr/lib/ruby/1.8/English.rb
|
||||
@ -366,6 +366,7 @@ drwxr-xr-x root/root usr/lib/ruby/1.8/rss/maker/
|
||||
-rw-r--r-- root/root usr/lib/ruby/1.8/rss/maker/dublincore.rb
|
||||
-rw-r--r-- root/root usr/lib/ruby/1.8/rss/maker/image.rb
|
||||
-rw-r--r-- root/root usr/lib/ruby/1.8/rss/maker/syndication.rb
|
||||
-rw-r--r-- root/root usr/lib/ruby/1.8/rss/maker/taxonomy.rb
|
||||
-rw-r--r-- root/root usr/lib/ruby/1.8/rss/maker/trackback.rb
|
||||
-rw-r--r-- root/root usr/lib/ruby/1.8/rss/parser.rb
|
||||
-rw-r--r-- root/root usr/lib/ruby/1.8/rss/rexmlparser.rb
|
||||
|
@ -1,2 +1,2 @@
|
||||
41841ded3036eddc477036960d2cdab1 ruby-1.8.4.patch
|
||||
bd8c2e593e1fa4b01fd98eaf016329bb ruby-1.8.4.tar.gz
|
||||
c29d1494e946c08c4731c3e4cdabb2cb ruby-1.8.5.patch
|
||||
3fbb02294a8ca33d4684055adba5ed6f ruby-1.8.5.tar.gz
|
||||
|
@ -4,15 +4,16 @@
|
||||
# Depends on: db, gdbm, ncurses, openssl, readline, zlib
|
||||
|
||||
name=ruby
|
||||
version=1.8.4
|
||||
version=1.8.5
|
||||
release=1
|
||||
source=(ftp://ftp.ruby-lang.org/pub/$name/$name-$version.tar.gz \
|
||||
source=(ftp://ftp.ruby-lang.org/pub/$name/1.8/$name-$version.tar.gz \
|
||||
$name-$version.patch)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
patch -p1 < $SRC/$name-$version.patch
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--enable-shared \
|
||||
--enable-pthread
|
||||
make
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -Nru ruby-1.8.4.orig/configure ruby-1.8.4/configure
|
||||
--- ruby-1.8.4.orig/configure 2005-12-25 11:19:52.000000000 +0100
|
||||
+++ ruby-1.8.4/configure 2005-12-25 11:20:06.000000000 +0100
|
||||
@@ -15398,7 +15398,7 @@
|
||||
_ACEOF
|
||||
|
||||
else
|
||||
- arch="${target_cpu}-${target_os}"
|
||||
+ arch="${target_os}"
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define RUBY_PLATFORM "${arch}"
|
||||
_ACEOF
|
24
ruby/ruby-1.8.5.patch
Normal file
24
ruby/ruby-1.8.5.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -Nru ruby-1.8.5.orig/configure ruby-1.8.5/configure
|
||||
--- ruby-1.8.5.orig/configure 2006-08-26 15:03:23.000000000 +0200
|
||||
+++ ruby-1.8.5/configure 2006-08-26 15:03:53.000000000 +0200
|
||||
@@ -19254,7 +19254,7 @@
|
||||
_ACEOF
|
||||
|
||||
else
|
||||
- arch="${target_cpu}-${target_os}"
|
||||
+ arch="${target_os}"
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define RUBY_PLATFORM "${arch}"
|
||||
_ACEOF
|
||||
diff -Nru ruby-1.8.5.orig/ext/dbm/extconf.rb ruby-1.8.5/ext/dbm/extconf.rb
|
||||
--- ruby-1.8.5.orig/ext/dbm/extconf.rb 2006-08-26 15:03:23.000000000 +0200
|
||||
+++ ruby-1.8.5/ext/dbm/extconf.rb 2006-08-26 15:04:19.000000000 +0200
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
have_header("cdefs.h")
|
||||
have_header("sys/cdefs.h")
|
||||
-if /DBM_HDR/ =~ $CFLAGS and have_func(db_prefix("dbm_open"))
|
||||
+if have_func(db_prefix("dbm_open"))
|
||||
have_func(db_prefix("dbm_clearerr")) unless $dbm_conf_have_gdbm
|
||||
create_makefile("dbm")
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user