summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/kfax/files')
-rw-r--r--media-gfx/kfax/files/kfax-3.3.6-kde45.patch12
-rw-r--r--media-gfx/kfax/files/kfax-3.3.6-underlinking.patch12
2 files changed, 24 insertions, 0 deletions
diff --git a/media-gfx/kfax/files/kfax-3.3.6-kde45.patch b/media-gfx/kfax/files/kfax-3.3.6-kde45.patch
new file mode 100644
index 000000000000..60bedf093eeb
--- /dev/null
+++ b/media-gfx/kfax/files/kfax-3.3.6-kde45.patch
@@ -0,0 +1,12 @@
+diff -ru kfax-3.3.6-kde4.4.0.orig/kfax.cpp kfax-3.3.6-kde4.4.0/kfax.cpp
+--- kfax-3.3.6-kde4.4.0.orig/kfax.cpp 2010-02-11 21:52:12.000000000 +0100
++++ kfax-3.3.6-kde4.4.0/kfax.cpp 2010-11-14 00:13:21.386377691 +0100
+@@ -829,7 +829,7 @@
+ statusbar->showMessage( i18n( "Saving..." ) );
+
+ KUrl source(thispage->pathname);
+- KIO::FileCopyJob *job = KIO::file_copy(source, dest,KIO::Overwrite | KIO::HideProgressInfo);
++ KIO::FileCopyJob *job = KIO::file_copy(source, dest, -1, KIO::Overwrite | KIO::HideProgressInfo);
+ bool ok = job->exec();
+ statusbar->clearMessage();
+
diff --git a/media-gfx/kfax/files/kfax-3.3.6-underlinking.patch b/media-gfx/kfax/files/kfax-3.3.6-underlinking.patch
new file mode 100644
index 000000000000..701308951b63
--- /dev/null
+++ b/media-gfx/kfax/files/kfax-3.3.6-underlinking.patch
@@ -0,0 +1,12 @@
+diff -ruN kfax-3.3.6-kde4.4.0.orig/CMakeLists.txt kfax-3.3.6-kde4.4.0/CMakeLists.txt
+--- kfax-3.3.6-kde4.4.0.orig/CMakeLists.txt 2010-02-11 21:59:47.000000000 +0100
++++ kfax-3.3.6-kde4.4.0/CMakeLists.txt 2011-08-11 21:33:15.262295828 +0200
+@@ -12,7 +12,7 @@
+
+ kde4_add_executable(kfax ${kfax_SRCS})
+
+-target_link_libraries(kfax ${KDE4_KIO_LIBS} ${QT_QT3SUPPORT_LIBRARY} )
++target_link_libraries(kfax ${KDE4_KIO_LIBS} ${QT_QT3SUPPORT_LIBRARY} ${X11_LIBRARIES})
+
+ install(TARGETS kfax ${INSTALL_TARGETS_DEFAULT_ARGS} )
+