summaryrefslogtreecommitdiff
path: root/kde-unstable/kdebindings-korundum/ruby19.patch
blob: ac4d32ae9fa1659d60062adbe45f0ae3c22062da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -up korundum-4.8.0/src/krubypluginfactory.cpp.ruby19 korundum-4.8.0/src/krubypluginfactory.cpp
--- korundum-4.8.0/src/krubypluginfactory.cpp.ruby19	2011-07-27 13:37:29.000000000 -0500
+++ korundum-4.8.0/src/krubypluginfactory.cpp	2012-02-17 08:30:38.785635819 -0600
@@ -39,7 +39,7 @@
 extern "C" {
 extern VALUE rb_load_path;
 extern VALUE qt_internal_module;
-void Init_prelude(void);
+// void Init_prelude(void);
 }
 
 //
@@ -165,7 +165,7 @@ QObject *KRubyPluginFactory::create(cons
 #if RUBY_VERSION >= 0x10900
     VALUE gem = rb_define_module("Gem");
     rb_const_set(gem, rb_intern("Enable"), Qtrue);
-    Init_prelude(); 
+//    Init_prelude(); 
 #endif
 
     ruby_incpush(QFile::encodeName(program.path()));
@@ -342,7 +342,7 @@ int kdemain(int argc, char **argv)
 #if RUBY_VERSION >= 0x10900
     VALUE gem = rb_define_module("Gem");
     rb_const_set(gem, rb_intern("Enable"), Qtrue);
-    Init_prelude();                                             
+//    Init_prelude();                                             
 #endif
 
     ruby_incpush(QFile::encodeName(program.path()));