aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/kdepim4
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2005-08-02 20:39:31 +0800
committerlofi <lofi@FreeBSD.org>2005-08-02 20:39:31 +0800
commit0b3cec3bc3baaf13d88c3bf1c6d8ca8985303ebb (patch)
treef87816e436953ac7ca6746daa34da7a299c5e854 /deskutils/kdepim4
parent22a8e49b5300853d041e122e4216f422ae0e4516 (diff)
downloadfreebsd-ports-gnome-0b3cec3bc3baaf13d88c3bf1c6d8ca8985303ebb.tar.gz
freebsd-ports-gnome-0b3cec3bc3baaf13d88c3bf1c6d8ca8985303ebb.tar.zst
freebsd-ports-gnome-0b3cec3bc3baaf13d88c3bf1c6d8ca8985303ebb.zip
Fix KDE Bug 109003 (KMail saves zero-size attachments).
Obtained from: KDE SVN Approved by: portmgr (marcus)
Diffstat (limited to 'deskutils/kdepim4')
-rw-r--r--deskutils/kdepim4/Makefile1
-rw-r--r--deskutils/kdepim4/files/patch-kmail-partNode.cpp19
2 files changed, 20 insertions, 0 deletions
diff --git a/deskutils/kdepim4/Makefile b/deskutils/kdepim4/Makefile
index 53cd62854309..7a48c225af78 100644
--- a/deskutils/kdepim4/Makefile
+++ b/deskutils/kdepim4/Makefile
@@ -7,6 +7,7 @@
PORTNAME= kdepim
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= deskutils mail news palm kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
diff --git a/deskutils/kdepim4/files/patch-kmail-partNode.cpp b/deskutils/kdepim4/files/patch-kmail-partNode.cpp
new file mode 100644
index 000000000000..c15a8f6f5a9c
--- /dev/null
+++ b/deskutils/kdepim4/files/patch-kmail-partNode.cpp
@@ -0,0 +1,19 @@
+--- kmail/partNode.cpp.orig Tue Aug 2 00:59:57 2005
++++ kmail/partNode.cpp Tue Aug 2 01:01:06 2005
+@@ -36,6 +36,7 @@
+ #include "kmmimeparttree.h"
+ #include <mimelib/utility.h>
+ #include <qregexp.h>
++#include <kasciistricmp.h>
+
+ /*
+ ===========================================================================
+@@ -414,7 +415,7 @@
+ partNode* partNode::findNodeForDwPart( DwBodyPart* part )
+ {
+ partNode* found = 0;
+- if( dwPart()->partId() == part->partId() )
++ if( kasciistricmp( dwPart()->partId(), part->partId() ) == 0 )
+ return this;
+ if( mChild )
+ found = mChild->findNodeForDwPart( part );