summaryrefslogtreecommitdiff
path: root/source/kde/kdepimlibs
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kdepimlibs')
-rw-r--r--source/kde/kdepimlibs/kdepimlibs-4.5.imap4.cpp.r1216162.diff13
-rwxr-xr-xsource/kde/kdepimlibs/kdepimlibs.SlackBuild5
-rw-r--r--source/kde/kdepimlibs/local.options1
3 files changed, 18 insertions, 1 deletions
diff --git a/source/kde/kdepimlibs/kdepimlibs-4.5.imap4.cpp.r1216162.diff b/source/kde/kdepimlibs/kdepimlibs-4.5.imap4.cpp.r1216162.diff
new file mode 100644
index 00000000..85a216dd
--- /dev/null
+++ b/source/kde/kdepimlibs/kdepimlibs-4.5.imap4.cpp.r1216162.diff
@@ -0,0 +1,13 @@
+Index: branches/KDE/4.5/kdepimlibs/kioslave/imap4/imap4.cpp
+===================================================================
+--- branches/KDE/4.5/kdepimlibs/kioslave/imap4/imap4.cpp (revision 1216161)
++++ branches/KDE/4.5/kdepimlibs/kioslave/imap4/imap4.cpp (revision 1216162)
+@@ -2577,7 +2577,7 @@
+ ssize_t copyLen = (len < readBufferLen) ? len : readBufferLen;
+ memcpy(data, readBuffer, copyLen);
+ readBufferLen -= copyLen;
+- if (readBufferLen) memcpy(readBuffer, &readBuffer[copyLen], readBufferLen);
++ if (readBufferLen) memmove(readBuffer, &readBuffer[copyLen], readBufferLen);
+ return copyLen;
+ }
+ if (!isConnected()) return 0;
diff --git a/source/kde/kdepimlibs/kdepimlibs.SlackBuild b/source/kde/kdepimlibs/kdepimlibs.SlackBuild
index 9fe4b1b8..1cd30a67 100755
--- a/source/kde/kdepimlibs/kdepimlibs.SlackBuild
+++ b/source/kde/kdepimlibs/kdepimlibs.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2009 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -46,6 +46,9 @@ cd $TMP
echo "Building kdepimlibs-$VERSION..."
tar xvf $CWD/../src/kdepimlibs-$VERSION.tar.?z* || exit 1
cd kdepimlibs-$VERSION
+
+zcat $CWD/kdepimlibs-4.5.imap4.cpp.r1216162.diff.gz | patch -p4 --verbose || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/source/kde/kdepimlibs/local.options b/source/kde/kdepimlibs/local.options
new file mode 100644
index 00000000..aae3c765
--- /dev/null
+++ b/source/kde/kdepimlibs/local.options
@@ -0,0 +1 @@
+BUILD=2