Index: head/graphics/okular/Makefile =================================================================== --- head/graphics/okular/Makefile (revision 529775) +++ head/graphics/okular/Makefile (revision 529776) @@ -1,49 +1,46 @@ # $FreeBSD$ PORTNAME= okular 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@FreeBSD.org COMMENT= KDE universal document viewer LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= markdown:textproc/discount RUN_DEPENDS= markdown:textproc/discount LIB_DEPENDS= libchm.so:misc/chmlib \ libdjvulibre.so:graphics/djvulibre \ libepub.so:textproc/ebook-tools \ libfreetype.so:print/freetype2 \ libqmobipocket.so:graphics/kdegraphics-mobipocket \ libpoppler.so:graphics/poppler \ libpoppler-qt5.so:graphics/poppler-qt5 \ libspectre.so:print/libspectre \ libtiff.so:graphics/tiff \ libzip.so:archivers/libzip USES= cmake compiler:c++11-lib desktop-file-utils \ gettext jpeg kde:5 pkgconfig qca qt:5 tar:xz USE_KDE= activities archive auth bookmarks codecs completion config \ configwidgets coreaddons crash dbusaddons ecm emoticons i18n \ iconthemes init itemmodels itemviews jobwidgets js \ kdelibs4support khtml kio libkexiv2 parts pty \ service solid sonnet textwidgets threadweaver wallet \ widgetsaddons windowsystem xmlgui USE_QT= concurrent core dbus declarative gui network phonon4 printsupport speech \ svg widgets xml \ buildtools_build qmake_build OPTIONS_DEFINE= DOCS PURPOSE OPTIONS_DEFAULT= PURPOSE PURPOSE_DESC= Enable 'Share' menu PURPOSE_USE= KDE=purpose PURPOSE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose .include Index: head/graphics/okular/distinfo =================================================================== --- head/graphics/okular/distinfo (revision 529775) +++ head/graphics/okular/distinfo (revision 529776) @@ -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 Index: head/graphics/okular/files/patch-git_6a93a03 =================================================================== --- head/graphics/okular/files/patch-git_6a93a03 (nonexistent) +++ head/graphics/okular/files/patch-git_6a93a03 (revision 529776) @@ -0,0 +1,27 @@ +From 6a93a033b4f9248b3cd4d04689b8391df754e244 Mon Sep 17 00:00:00 2001 +From: Albert Astals Cid +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 + Property changes on: head/graphics/okular/files/patch-git_6a93a03 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property