Contents of /trunk/korundum/patches/korundum-4.9.4-ruby19.patch
Parent Directory | Revision Log
Revision 2010 -
(show annotations)
(download)
Tue Jan 1 23:34:42 2013 UTC (11 years, 8 months ago) by niro
Original Path: korundum/patches/korundum-4.9.4-ruby19.patch
File size: 913 byte(s)
Tue Jan 1 23:34:42 2013 UTC (11 years, 8 months ago) by niro
Original Path: korundum/patches/korundum-4.9.4-ruby19.patch
File size: 913 byte(s)
-fixed
1 | diff -Naur korundum-4.9.4/src/krubypluginfactory.cpp korundum-4.9.4-magellan/src/krubypluginfactory.cpp |
2 | --- korundum-4.9.4/src/krubypluginfactory.cpp 2012-11-30 07:30:09.000000000 +0000 |
3 | +++ korundum-4.9.4-magellan/src/krubypluginfactory.cpp 2013-01-02 01:44:58.781914380 +0000 |
4 | @@ -165,7 +165,8 @@ |
5 | #if RUBY_VERSION >= 0x10900 |
6 | VALUE gem = rb_define_module("Gem"); |
7 | rb_const_set(gem, rb_intern("Enable"), Qtrue); |
8 | - Init_prelude(); |
9 | + char *opts[] = { "ruby", "-e;" }; |
10 | + ruby_options(2, opts); |
11 | #endif |
12 | |
13 | ruby_incpush(QFile::encodeName(program.path())); |
14 | @@ -342,7 +343,8 @@ |
15 | #if RUBY_VERSION >= 0x10900 |
16 | VALUE gem = rb_define_module("Gem"); |
17 | rb_const_set(gem, rb_intern("Enable"), Qtrue); |
18 | - Init_prelude(); |
19 | + char *opts[] = { "ruby", "-e;" }; |
20 | + ruby_options(2, opts); |
21 | #endif |
22 | |
23 | ruby_incpush(QFile::encodeName(program.path())); |