9594841e44
- readd old macros - for now at least - generate provides for embedded rubygems - merged ruby-common - new package split - only single Ruby version installable ruby - binary libruby2_1-2_0 - ruby runtime library ruby-stdlib - ruby standard library ruby-doc - ruby documentation ruby-devel - ruby development - revert the ruby split (ruby - ruby21) rename ruby21 to ruby, integrate 'ruby' and 'ruby-common' - remove part of rubygems1.5 patch that modify mkmf which is already fixed upstream - fix rb_arch in spec: append -gnu - fix native gem builds: create gem native extensions dir - initial version for ruby 2.1.0 - changes to Ruby 2.0: VM (method cache) RGenGC (See ko1’s RubyKaigi presentation and RubyConf 2013 presentation) refinements #8481 #8571 syntax changes Rational/Complex Literal #8430 def’s return value #3753 Bignum use GMP #8796 String#scrub #8414 Socket.getifaddrs #8368 RDoc 4.1.0 and RubyGems 2.2.0 “literal”.freeze is now optimized #9042 add Exception#cause #8257 update libraries like BigDecimal, JSON, NKF, Rake, RubyGems, and RDoc OBS-URL: https://build.opensuse.org/request/show/220747 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=70
26 lines
817 B
Diff
26 lines
817 B
Diff
Index: ruby-1.9.3-p194/include/ruby/ruby.h
|
|
===================================================================
|
|
--- ruby-1.9.3-p194.orig/include/ruby/ruby.h
|
|
+++ ruby-1.9.3-p194/include/ruby/ruby.h
|
|
@@ -1225,6 +1225,7 @@ void ruby_init_stack(volatile VALUE*);
|
|
VALUE variable_in_this_stack_frame; \
|
|
ruby_init_stack(&variable_in_this_stack_frame);
|
|
void ruby_init(void);
|
|
+void ruby_init_prelude(void);
|
|
void *ruby_options(int, char**);
|
|
int ruby_run_node(void *);
|
|
int ruby_exec_node(void *);
|
|
Index: ruby-1.9.3-p194/ruby.c
|
|
===================================================================
|
|
--- ruby-1.9.3-p194.orig/ruby.c
|
|
+++ ruby-1.9.3-p194/ruby.c
|
|
@@ -1091,7 +1091,7 @@ proc_options(long argc, char **argv, str
|
|
return argc0 - argc;
|
|
}
|
|
|
|
-static void
|
|
+void
|
|
ruby_init_prelude(void)
|
|
{
|
|
Init_prelude();
|