From 7ba59cc79b1dd1bfad8170367bf4cc9362629e2e Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Thu, 28 Apr 2011 21:16:16 +0000 Subject: Fix that thing so it actualy builds. (Portage version: 2.2.0_alpha30/cvs/Linux x86_64) --- kde-misc/qtrans/files/0.2.2.6-define_return.patch | 12 ++++++++++++ kde-misc/qtrans/files/0.2.2.6-do_not_install_files.patch | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 kde-misc/qtrans/files/0.2.2.6-define_return.patch create mode 100644 kde-misc/qtrans/files/0.2.2.6-do_not_install_files.patch (limited to 'kde-misc/qtrans/files') diff --git a/kde-misc/qtrans/files/0.2.2.6-define_return.patch b/kde-misc/qtrans/files/0.2.2.6-define_return.patch new file mode 100644 index 000000000000..2e66a4dfacf6 --- /dev/null +++ b/kde-misc/qtrans/files/0.2.2.6-define_return.patch @@ -0,0 +1,12 @@ +diff -urN qtrans-0.2.2.6.old/src/plugins/stardict/stardict.cpp qtrans-0.2.2.6/src/plugins/stardict/stardict.cpp +--- qtrans-0.2.2.6.old/src/plugins/stardict/stardict.cpp 2011-04-28 23:08:08.000000000 +0200 ++++ qtrans-0.2.2.6/src/plugins/stardict/stardict.cpp 2011-04-28 23:11:33.000000000 +0200 +@@ -1123,7 +1123,7 @@ + + QString StarDict::parseData(const char *data) + { +- ++ return "Not implemented"; + } + + diff --git a/kde-misc/qtrans/files/0.2.2.6-do_not_install_files.patch b/kde-misc/qtrans/files/0.2.2.6-do_not_install_files.patch new file mode 100644 index 000000000000..d3324c96c4e3 --- /dev/null +++ b/kde-misc/qtrans/files/0.2.2.6-do_not_install_files.patch @@ -0,0 +1,11 @@ +--- qtrans-0.2.2.6.old/CMakeLists.txt 2011-04-28 23:08:08.000000000 +0200 ++++ qtrans-0.2.2.6/CMakeLists.txt 2011-04-28 23:12:47.000000000 +0200 +@@ -23,8 +23,3 @@ + add_subdirectory(src) + add_subdirectory(flags) + add_subdirectory(icons) +- +-########### install files ############### +- +-INSTALL(FILES README DESTINATION share/apps/qtrans/) +-INSTALL(FILES ChangeLog DESTINATION share/apps/qtrans/) -- cgit v1.2.3-65-gdbad