summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-04-28 21:16:16 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-04-28 21:16:16 +0000
commit7ba59cc79b1dd1bfad8170367bf4cc9362629e2e (patch)
tree60abf0693f380fea442d51e24ca70365d9dadd2c /kde-misc/qtrans/files
parentfix build with ffmpeg/libav latest git (diff)
downloadgentoo-2-7ba59cc79b1dd1bfad8170367bf4cc9362629e2e.tar.gz
gentoo-2-7ba59cc79b1dd1bfad8170367bf4cc9362629e2e.tar.bz2
gentoo-2-7ba59cc79b1dd1bfad8170367bf4cc9362629e2e.zip
Fix that thing so it actualy builds.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc/qtrans/files')
-rw-r--r--kde-misc/qtrans/files/0.2.2.6-define_return.patch12
-rw-r--r--kde-misc/qtrans/files/0.2.2.6-do_not_install_files.patch11
2 files changed, 23 insertions, 0 deletions
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/)