diff options
Diffstat (limited to '')
-rw-r--r-- | kde/patch/korundum.patch | 4 | ||||
-rw-r--r-- | kde/patch/korundum/korundum_ruby19.patch | 31 |
2 files changed, 35 insertions, 0 deletions
diff --git a/kde/patch/korundum.patch b/kde/patch/korundum.patch new file mode 100644 index 0000000..7a8b7cf --- /dev/null +++ b/kde/patch/korundum.patch @@ -0,0 +1,4 @@ +# Build against Ruby 1.9.3. +# See also https://bugs.kde.org/show_bug.cgi?id=287057 +cat $CWD/patch/korundum/korundum_ruby19.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } + diff --git a/kde/patch/korundum/korundum_ruby19.patch b/kde/patch/korundum/korundum_ruby19.patch new file mode 100644 index 0000000..561d8de --- /dev/null +++ b/kde/patch/korundum/korundum_ruby19.patch @@ -0,0 +1,31 @@ +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())); + |