aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deskutils/kdepim4/Makefile1
-rw-r--r--deskutils/kdepim4/files/patch-kmail_kmcommands.cpp15
-rw-r--r--deskutils/kdepim44/Makefile1
-rw-r--r--deskutils/kdepim44/files/patch-kmail_kmcommands.cpp15
4 files changed, 32 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;
diff --git a/deskutils/kdepim44/Makefile b/deskutils/kdepim44/Makefile
index e7b240153c85..44b9f38ba756 100644
--- a/deskutils/kdepim44/Makefile
+++ b/deskutils/kdepim44/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/kdepim44/files/patch-kmail_kmcommands.cpp b/deskutils/kdepim44/files/patch-kmail_kmcommands.cpp
new file mode 100644
index 000000000000..60247094e79a
--- /dev/null
+++ b/deskutils/kdepim44/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;