svn commit: r529776 - in head/graphics/okular: . files
Tobias C. Berner
tcberner at FreeBSD.org
Sun Mar 29 07:02:33 UTC 2020
Author: tcberner
Date: Sun Mar 29 07:01:17 2020
New Revision: 529776
URL: https://svnweb.freebsd.org/changeset/ports/529776
Log:
graphics/okular: switch to patch in filesdir
- the checksum changed again; same content.
PR: 244839
Reported by: Felix Palmen <felix at palmen-it.de>
Added:
head/graphics/okular/files/patch-git_6a93a03 (contents, props changed)
Modified:
head/graphics/okular/Makefile
head/graphics/okular/distinfo
Modified: head/graphics/okular/Makefile
==============================================================================
--- head/graphics/okular/Makefile Sun Mar 29 06:35:06 2020 (r529775)
+++ head/graphics/okular/Makefile Sun Mar 29 07:01:17 2020 (r529776)
@@ -5,9 +5,6 @@ DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 4
CATEGORIES= graphics kde kde-applications
-PATCH_SITES= https://invent.kde.org/kde/okular/-/commit/
-PATCHFILES= 6a93a033b4f9248b3cd4d04689b8391df754e244.patch:-p1
-
MAINTAINER= kde at FreeBSD.org
COMMENT= KDE universal document viewer
Modified: head/graphics/okular/distinfo
==============================================================================
--- head/graphics/okular/distinfo Sun Mar 29 06:35:06 2020 (r529775)
+++ head/graphics/okular/distinfo Sun Mar 29 07:01:17 2020 (r529776)
@@ -1,5 +1,3 @@
-TIMESTAMP = 1584616149
+TIMESTAMP = 1585465052
SHA256 (KDE/applications/19.12.3/okular-19.12.3.tar.xz) = c5de22cc4292e3b7adae3f6ef6566dcba33a1dd5995fb0b968ea3e705a4c04e0
SIZE (KDE/applications/19.12.3/okular-19.12.3.tar.xz) = 7208888
-SHA256 (KDE/applications/19.12.3/6a93a033b4f9248b3cd4d04689b8391df754e244.patch) = 58ab539871a68e36de81c80bcd0258a755b64e1cc210430ba60a0e8d5fb51a44
-SIZE (KDE/applications/19.12.3/6a93a033b4f9248b3cd4d04689b8391df754e244.patch) = 902
Added: head/graphics/okular/files/patch-git_6a93a03
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/okular/files/patch-git_6a93a03 Sun Mar 29 07:01:17 2020 (r529776)
@@ -0,0 +1,27 @@
+From 6a93a033b4f9248b3cd4d04689b8391df754e244 Mon Sep 17 00:00:00 2001
+From: Albert Astals Cid <aacid at kde.org>
+Date: Tue, 10 Mar 2020 23:07:24 +0100
+Subject: [PATCH] Document::processAction: If the url points to a binary, don't
+ run it
+
+---
+ core/document.cpp | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/core/document.cpp b/core/document.cpp
+index 3215a1abc..0aa5b6980 100644
+--- core/document.cpp
++++ core/document.cpp
+@@ -4388,7 +4388,8 @@ void Document::processAction( const Action * action )
+ {
+ const QUrl realUrl = KIO::upUrl(d->m_url).resolved(url);
+ // KRun autodeletes
+- new KRun( realUrl, d->m_widget );
++ KRun *r = new KRun( realUrl, d->m_widget );
++ r->setRunExecutables(false);
+ }
+ }
+ } break;
+--
+2.26.0
+
More information about the svn-ports-head
mailing list