Browse Source

upgrading package: ruby 1.8.5p12 -> 1.8.6

Ralf S. Engelschall 18 years ago
parent
commit
aaaa936ce4
2 changed files with 15 additions and 15 deletions
  1. 12 12
      ruby/ruby.patch
  2. 3 3
      ruby/ruby.spec

+ 12 - 12
ruby/ruby.patch

@@ -1,7 +1,7 @@
 Index: configure
---- configure.orig	2006-12-16 00:27:37 +0100
-+++ configure	2006-12-25 19:40:08 +0100
-@@ -18285,7 +18285,7 @@
+--- configure.orig	2007-03-12 20:19:03 +0100
++++ configure	2007-03-13 08:08:33 +0100
+@@ -15935,7 +15935,7 @@
                          rb_cv_dlopen=yes ;;
  	esix*|uxpds*) 	: ${LDSHARED="ld -G"}
  			rb_cv_dlopen=yes ;;
@@ -11,14 +11,14 @@ Index: configure
  	bsdi3*) 	case "$CC" in
  			*shlicc*)	: ${LDSHARED="$CC -r"}
 Index: ext/dbm/extconf.rb
---- ext/dbm/extconf.rb.orig	2006-12-05 20:27:06 +0100
-+++ ext/dbm/extconf.rb	2006-12-25 19:41:45 +0100
-@@ -48,7 +48,7 @@
- if dblib
-   dbm_hdr = db_check(dblib)
+--- ext/dbm/extconf.rb.orig	2007-02-13 00:01:19 +0100
++++ ext/dbm/extconf.rb	2007-03-13 08:11:50 +0100
+@@ -5,7 +5,7 @@
+ if dblib = with_config("dbm-type", nil)
+   dblib = dblib.split(/[ ,]+/)
  else
--  dbm_hdr = %w(db db2 db1 dbm gdbm gdbm_compat qdbm).any? do |dblib|
-+  dbm_hdr = %w(dbm db2 db1 db gdbm gdbm_compat qdbm).any? do |dblib|
-     db_check(dblib)
-   end
+-  dblib = %w(db db2 db1 dbm gdbm gdbm_compat qdbm)
++  dblib = %w(dbm db2 db1 db gdbm gdbm_compat qdbm)
  end
+ 
+ headers = {

+ 3 - 3
ruby/ruby.spec

@@ -23,8 +23,8 @@
 ##
 
 #   package versions
-%define       V_dst   1.8.5-p12
-%define       V_opkg  1.8.5p12
+%define       V_dst   1.8.6
+%define       V_opkg  1.8.6
 
 #   package information
 Name:         ruby
@@ -37,7 +37,7 @@ Class:        BASE
 Group:        Language
 License:      GPL
 Version:      %{V_opkg}
-Release:      20070112
+Release:      20070313
 
 #   list of sources
 Source0:      ftp://ftp.ruby-lang.org/pub/ruby/ruby-%{V_dst}.tar.gz