aboutsummaryrefslogtreecommitdiff
path: root/deskutils/kdepim4
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-02-18 21:30:10 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-02-18 21:30:10 +0000
commit8823ca6e6bd29b7546c9cc3579ed2472103b9ac9 (patch)
treec4b78c4bc8155fcba305ae904946315e4c41ef27 /deskutils/kdepim4
parent492a56364b14e4b3b35a0f2908e117d6a1b23345 (diff)
downloadports-8823ca6e6bd29b7546c9cc3579ed2472103b9ac9.tar.gz
ports-8823ca6e6bd29b7546c9cc3579ed2472103b9ac9.zip
Notes
Diffstat (limited to 'deskutils/kdepim4')
-rw-r--r--deskutils/kdepim4/Makefile1
-rw-r--r--deskutils/kdepim4/files/patch-kmail_kmcommands.cpp15
2 files changed, 16 insertions, 0 deletions
diff --git a/deskutils/kdepim4/Makefile b/deskutils/kdepim4/Makefile
index e7b240153c85..44b9f38ba756 100644
--- a/deskutils/kdepim4/Makefile
+++ b/deskutils/kdepim4/Makefile
@@ -6,6 +6,7 @@
PORTNAME= kdepim
PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 1
CATEGORIES= deskutils kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
diff --git a/deskutils/kdepim4/files/patch-kmail_kmcommands.cpp b/deskutils/kdepim4/files/patch-kmail_kmcommands.cpp
new file mode 100644
index 000000000000..60247094e79a
--- /dev/null
+++ b/deskutils/kdepim4/files/patch-kmail_kmcommands.cpp
@@ -0,0 +1,15 @@
+--- ../kmail/kmcommands.cpp 2009/02/16 19:10:32 927080
++++ ../kmail/kmcommands.cpp 2009/02/16 19:12:30 927081
+@@ -2320,8 +2320,10 @@
+ mUrl.pathOrUrl() ), QString(), KGuiItem(i18n("Execute")), KStandardGuiItem::cancel() ) != KMessageBox::Yes)
+ return Canceled;
+ }
+- if ( !KMail::Util::handleUrlOnMac( mUrl.pathOrUrl() ) )
+- (void) new KRun( mUrl, mMainWidget );
++ if ( !KMail::Util::handleUrlOnMac( mUrl.pathOrUrl() ) ) {
++ KRun *runner = new KRun( mUrl, mMainWidget ); // will delete itself
++ runner->setRunExecutables( false );
++ }
+ }
+ else
+ return Failed;