1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix KDE Bug 109003 (KMail saves zero-size attachments).

Obtained from: KDE SVN
Approved by: portmgr (marcus)
This commit is contained in:
Michael Nottebrock 2005-08-02 12:39:31 +00:00
parent 249e15dd30
commit ea50fe272e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140733
6 changed files with 60 additions and 0 deletions

View File

@ -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

View File

@ -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 );

View File

@ -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

View File

@ -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 );

View File

@ -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

View File

@ -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 );