summaryrefslogtreecommitdiffstats
path: root/redhat/tdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-11-07 19:42:05 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2014-11-07 19:42:05 +0100
commite1a4edd4a7077d597cc16e97f4a5b68ee9531231 (patch)
tree4584805e947394040a006563b1dc821fa9feaccb /redhat/tdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch
parente9a77f2a2ad7c604483d99f3ebc5947dd3f5eb10 (diff)
downloadtde-packaging-e1a4edd4a7077d597cc16e97f4a5b68ee9531231.tar.gz
tde-packaging-e1a4edd4a7077d597cc16e97f4a5b68ee9531231.zip
RPM packaging: update tdebindings
Diffstat (limited to 'redhat/tdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch')
-rw-r--r--redhat/tdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch56
1 files changed, 0 insertions, 56 deletions
diff --git a/redhat/tdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch b/redhat/tdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch
deleted file mode 100644
index 2798aa904..000000000
--- a/redhat/tdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-commit 14594d81891b0bdf9aa03f72b88d6939eee59f02
-Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Date: 1347389903 -0500
-
- Fix FTBFS on ruby 1.8.x
-
-diff --git a/korundum/bin/krubyinit.cpp b/korundum/bin/krubyinit.cpp
-index f53f830..12b0f6e 100644
---- a/korundum/bin/krubyinit.cpp
-+++ b/korundum/bin/krubyinit.cpp
-@@ -25,13 +25,18 @@
- * *
- ***************************************************************************/
-
--// this name can be used to allow apps
-+// this name can be used to allow apps
- // to detect what they were started with
- static const char* script_name = "krubyinit_app";
-
- int main(int argc, char **argv) {
- ruby_init();
- ruby_script((char*)script_name);
-- void* node = ruby_options(argc, argv);
-+#ifdef HAVE_RUBY_1_9
-+ void* node = ruby_options(argc, argv);
- ruby_run_node(node);
-+#else // HAVE_RUBY_1_9
-+ ruby_options(argc, argv);
-+ ruby_run();
-+#endif // HAVE_RUBY_1_9
- }
-diff --git a/qtruby/bin/qtrubyinit.cpp b/qtruby/bin/qtrubyinit.cpp
-index 65c00c4..c9569d9 100644
---- a/qtruby/bin/qtrubyinit.cpp
-+++ b/qtruby/bin/qtrubyinit.cpp
-@@ -25,13 +25,18 @@ qrubyinit - makes use of tdeinit_wrapper possible for ruby programs
- * *
- ***************************************************************************/
-
--// this name can be used to allow apps
-+// this name can be used to allow apps
- // to detect what they were started with
- static const char* script_name = "qrubyinit_app";
-
- int main(int argc, char **argv) {
- ruby_init();
- ruby_script((char*)script_name);
-- void* node = ruby_options(argc, argv);
-+#ifdef HAVE_RUBY_1_9
-+ void* node = ruby_options(argc, argv);
- ruby_run_node(node);
-+#else // HAVE_RUBY_1_9
-+ ruby_options(argc, argv);
-+ ruby_run();
-+#endif // HAVE_RUBY_1_9
- }