[135174] trunk/dports/kde/okular

nicos at macports.org nicos at macports.org
Sat Apr 18 01:48:39 PDT 2015


Revision: 135174
          https://trac.macports.org/changeset/135174
Author:   nicos at macports.org
Date:     2015-04-18 01:48:39 -0700 (Sat, 18 Apr 2015)
Log Message:
-----------
okular: add patch to enable opening several documents (ticket #47054)

Modified Paths:
--------------
    trunk/dports/kde/okular/Portfile

Added Paths:
-----------
    trunk/dports/kde/okular/files/patch-class-visibility-for-dynamic_cast.diff

Modified: trunk/dports/kde/okular/Portfile
===================================================================
--- trunk/dports/kde/okular/Portfile	2015-04-18 08:22:35 UTC (rev 135173)
+++ trunk/dports/kde/okular/Portfile	2015-04-18 08:48:39 UTC (rev 135174)
@@ -6,6 +6,7 @@
 
 name                okular
 version             4.14.3
+revision            1
 categories          kde kde4
 license             GPL-2+ LGPL-2+
 maintainers         nicos openmaintainer
@@ -22,7 +23,8 @@
                     sha256  e6e2125f3ea5d3d5295dfac658814e6c424af710ec330cc74192863977385c46
 
 #parttest cannot link to okularpart on Mac, as it is a bundle (.so) file
-patchfiles          patch-OkularPart.diff
+patchfiles          patch-OkularPart.diff \
+                    patch-class-visibility-for-dynamic_cast.diff
 
 #Binaries do not link to openssl, nor use the ssl backend of kdelibs4
 license_noconflict  openssl

Added: trunk/dports/kde/okular/files/patch-class-visibility-for-dynamic_cast.diff
===================================================================
--- trunk/dports/kde/okular/files/patch-class-visibility-for-dynamic_cast.diff	                        (rev 0)
+++ trunk/dports/kde/okular/files/patch-class-visibility-for-dynamic_cast.diff	2015-04-18 08:48:39 UTC (rev 135174)
@@ -0,0 +1,35 @@
+diff --git interfaces/viewerinterface.h interfaces/viewerinterface.h
+index c3de2e9..1418c60 100644
+--- interfaces/viewerinterface.h
++++ interfaces/viewerinterface.h
+@@ -23,7 +23,7 @@ namespace Okular {
+  * This interface can be used to control some more or less advanced features of a document
+  * viewer.
+  */
+-class ViewerInterface
++class OKULAR_EXPORT ViewerInterface
+ {
+     public:
+         virtual ~ViewerInterface() {}
+diff --git kdocumentviewer.h kdocumentviewer.h
+index 2f77610..360ed42 100644
+--- kdocumentviewer.h
++++ kdocumentviewer.h
+@@ -10,6 +10,8 @@
+ #ifndef _KDOCUMENTVIEWER_H_
+ #define _KDOCUMENTVIEWER_H_
+ 
++#include "core/okular_export.h"
++
+ #include <QtCore/QStringList>
+ 
+ class KUrl;
+@@ -19,7 +21,7 @@ class KUrl;
+  *
+  * This interface describe briefly the basic functions of a document viewer.
+  */
+-class KDocumentViewer
++class OKULAR_EXPORT KDocumentViewer
+ {
+     public:
+         virtual ~KDocumentViewer() {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150418/7268e291/attachment.html>


More information about the macports-changes mailing list