Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2013 - (hide annotations) (download)
Fri Jan 4 22:07:25 2013 UTC (11 years, 4 months ago) by niro
File size: 1042 byte(s)
-moved to the right place
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 niro 2011 +++ korundum-4.9.4-magellan/src/krubypluginfactory.cpp 2013-01-02 01:47:31.005946038 +0000
4     @@ -39,7 +39,6 @@
5     extern "C" {
6     extern VALUE rb_load_path;
7     extern VALUE qt_internal_module;
8     -void Init_prelude(void);
9     }
10    
11     //
12     @@ -165,7 +164,8 @@
13 niro 2009 #if RUBY_VERSION >= 0x10900
14     VALUE gem = rb_define_module("Gem");
15     rb_const_set(gem, rb_intern("Enable"), Qtrue);
16 niro 2010 - Init_prelude();
17 niro 2009 + char *opts[] = { "ruby", "-e;" };
18     + ruby_options(2, opts);
19     #endif
20 niro 2010
21 niro 2009 ruby_incpush(QFile::encodeName(program.path()));
22 niro 2011 @@ -342,7 +342,8 @@
23 niro 2009 #if RUBY_VERSION >= 0x10900
24     VALUE gem = rb_define_module("Gem");
25     rb_const_set(gem, rb_intern("Enable"), Qtrue);
26 niro 2010 - Init_prelude();
27 niro 2009 + char *opts[] = { "ruby", "-e;" };
28     + ruby_options(2, opts);
29     #endif
30 niro 2010
31 niro 2009 ruby_incpush(QFile::encodeName(program.path()));