diff options
Diffstat (limited to '')
-rw-r--r-- | kde/patch/korundum.patch | 2 | ||||
-rw-r--r-- | kde/patch/korundum/korundum_ruby19.patch | 31 | ||||
-rw-r--r-- | kde/patch/korundum/korundum_ruby19.patch.gz | bin | 488 -> 0 bytes |
3 files changed, 32 insertions, 1 deletions
diff --git a/kde/patch/korundum.patch b/kde/patch/korundum.patch index 900f006..10deb29 100644 --- a/kde/patch/korundum.patch +++ b/kde/patch/korundum.patch @@ -1,5 +1,5 @@ # Build against Ruby 1.9.3. # See also https://bugs.kde.org/show_bug.cgi?id=287057 # No longer needed in KDE 4.11. -#zcat $CWD/patch/korundum/korundum_ruby19.patch.gz | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } +#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())); + diff --git a/kde/patch/korundum/korundum_ruby19.patch.gz b/kde/patch/korundum/korundum_ruby19.patch.gz Binary files differdeleted file mode 100644 index 2463d0a..0000000 --- a/kde/patch/korundum/korundum_ruby19.patch.gz +++ /dev/null |