Magellan Linux

Annotation of /trunk/korundum/patches/korundum-4.9.4-ruby19.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2010 - (hide annotations) (download)
Tue Jan 1 23:34:42 2013 UTC (11 years, 5 months ago) by niro
Original Path: korundum/patches/korundum-4.9.4-ruby19.patch
File size: 913 byte(s)
-fixed
1 niro 2010 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 niro 2009 #if RUBY_VERSION >= 0x10900
6     VALUE gem = rb_define_module("Gem");
7     rb_const_set(gem, rb_intern("Enable"), Qtrue);
8 niro 2010 - Init_prelude();
9 niro 2009 + char *opts[] = { "ruby", "-e;" };
10     + ruby_options(2, opts);
11     #endif
12 niro 2010
13 niro 2009 ruby_incpush(QFile::encodeName(program.path()));
14 niro 2010 @@ -342,7 +343,8 @@
15 niro 2009 #if RUBY_VERSION >= 0x10900
16     VALUE gem = rb_define_module("Gem");
17     rb_const_set(gem, rb_intern("Enable"), Qtrue);
18 niro 2010 - Init_prelude();
19 niro 2009 + char *opts[] = { "ruby", "-e;" };
20     + ruby_options(2, opts);
21     #endif
22 niro 2010
23 niro 2009 ruby_incpush(QFile::encodeName(program.path()));