aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-09 23:21:56 +0800
committerkrion <krion@FreeBSD.org>2004-02-09 23:21:56 +0800
commit775e0eaf326efe0e2df584c294cd906ef3158d37 (patch)
treec032b040a4447bc53e3b310b004d974f267bc2fc
parente9d2ae33066e1ef1720e6764336f4661b07992d6 (diff)
downloadfreebsd-ports-gnome-775e0eaf326efe0e2df584c294cd906ef3158d37.tar.gz
freebsd-ports-gnome-775e0eaf326efe0e2df584c294cd906ef3158d37.tar.zst
freebsd-ports-gnome-775e0eaf326efe0e2df584c294cd906ef3158d37.zip
- Fix build with KDE32
PR: ports/62584 Submitted by: maintainer
-rw-r--r--ftp/kbear/files/patch-kbearcopyjob.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/ftp/kbear/files/patch-kbearcopyjob.cpp b/ftp/kbear/files/patch-kbearcopyjob.cpp
new file mode 100644
index 000000000000..e81d74493b58
--- /dev/null
+++ b/ftp/kbear/files/patch-kbearcopyjob.cpp
@@ -0,0 +1,14 @@
+--- kbear/lib/jobclasses/kbearcopyjob.cpp.orig Mon Feb 9 13:13:28 2004
++++ kbear/lib/jobclasses/kbearcopyjob.cpp Mon Feb 9 13:13:56 2004
+@@ -1080,11 +1080,7 @@
+ } else if (m_mode == Move) // Moving a file
+ {
+ KBearFileCopyJob * moveJob = KBearFileCopyJob::file_move( m_destID, m_sourceID, (*it).uSource, (*it).uDest, (*it).permissions, bOverwrite, false, false/*no GUI*/ );
+- #if KDE_VERSION_MINOR < 2
+ moveJob->setSourceSize( (*it).size );
+- #else
+- moveJob->setSourceSize64( (*it).size );
+- #endif
+ newjob = moveJob;
+ kdDebug(7007) << "KBearCopyJob::copyNextFile : Moving " << (*it).uSource.prettyURL() << " to " << (*it).uDest.prettyURL() << endl;
+ emit moving( this, (*it).uSource, (*it).uDest );