View | Details | Raw Unified | Return to bug 245093 | Differences between
and this patch

Collapse All | Expand All

(-)poppler/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	poppler
4
PORTNAME=	poppler
5
DISTVERSION=	0.86.1
5
DISTVERSION=	0.86.1
6
PORTREVISION?=	1
6
CATEGORIES=	graphics print
7
CATEGORIES=	graphics print
7
MASTER_SITES=	https://poppler.freedesktop.org/
8
MASTER_SITES=	https://poppler.freedesktop.org/
8
9
(-)poppler/files/patch-glib_poppler-action.cc (+51 lines)
Line 0 Link Here
1
--- glib/poppler-action.cc.orig	2020-03-01 19:52:52 UTC
2
+++ glib/poppler-action.cc
3
@@ -627,39 +627,39 @@ _poppler_action_new (PopplerDocument *document,
4
 	switch (link->getKind ()) {
5
 	case actionGoTo:
6
 		action->type = POPPLER_ACTION_GOTO_DEST;
7
-		build_goto_dest (document, action, dynamic_cast <const LinkGoTo *> (link));
8
+		build_goto_dest (document, action, static_cast <const LinkGoTo *> (link));
9
 		break;
10
 	case actionGoToR:
11
 		action->type = POPPLER_ACTION_GOTO_REMOTE;
12
-		build_goto_remote (action, dynamic_cast <const LinkGoToR *> (link));
13
+		build_goto_remote (action, static_cast <const LinkGoToR *> (link));
14
 		break;
15
 	case actionLaunch:
16
 		action->type = POPPLER_ACTION_LAUNCH;
17
-		build_launch (action, dynamic_cast <const LinkLaunch *> (link));
18
+		build_launch (action, static_cast <const LinkLaunch *> (link));
19
 		break;
20
 	case actionURI:
21
 		action->type = POPPLER_ACTION_URI;
22
-		build_uri (action, dynamic_cast <const LinkURI *> (link));
23
+		build_uri (action, static_cast <const LinkURI *> (link));
24
 		break;
25
 	case actionNamed:
26
 		action->type = POPPLER_ACTION_NAMED;
27
-		build_named (action, dynamic_cast <const LinkNamed *> (link));
28
+		build_named (action, static_cast <const LinkNamed *> (link));
29
 		break;
30
 	case actionMovie:
31
 		action->type = POPPLER_ACTION_MOVIE;
32
-		build_movie (document, action, dynamic_cast<const LinkMovie*> (link));
33
+		build_movie (document, action, static_cast<const LinkMovie*> (link));
34
 		break;
35
 	case actionRendition:
36
 		action->type = POPPLER_ACTION_RENDITION;
37
-		build_rendition (action, dynamic_cast<const LinkRendition*> (link));
38
+		build_rendition (action, static_cast<const LinkRendition*> (link));
39
 		break;
40
 	case actionOCGState:
41
 		action->type = POPPLER_ACTION_OCG_STATE;
42
-		build_ocg_state (document, action, dynamic_cast<const LinkOCGState*> (link));
43
+		build_ocg_state (document, action, static_cast<const LinkOCGState*> (link));
44
 		break;
45
 	case actionJavaScript:
46
 		action->type = POPPLER_ACTION_JAVASCRIPT;
47
-		build_javascript (action, dynamic_cast<const LinkJavaScript*> (link));
48
+		build_javascript (action, static_cast<const LinkJavaScript*> (link));
49
 		break;
50
 	case actionUnknown:
51
 	default:
(-)poppler/files/patch-utils_HtmlOutputDev.cc (+11 lines)
Line 0 Link Here
1
--- utils/HtmlOutputDev.cc.orig	2020-03-01 19:52:52 UTC
2
+++ utils/HtmlOutputDev.cc
3
@@ -1838,7 +1838,7 @@ int HtmlOutputDev::getOutlinePageNum(OutlineItem *item
4
     if (!action || action->getKind() != actionGoTo)
5
         return pagenum;
6
 
7
-    link = dynamic_cast<const LinkGoTo*>(action);
8
+    link = static_cast<const LinkGoTo*>(action);
9
 
10
     if (!link || !link->isOk())
11
         return pagenum;
(-)poppler-glib/Makefile (-1 / +1 lines)
Lines 1-7 Link Here
1
# Created by: Michael Johnson <ahze@FreeBSD.org>
1
# Created by: Michael Johnson <ahze@FreeBSD.org>
2
# $FreeBSD: head/graphics/poppler-glib/Makefile 528853 2020-03-21 12:57:09Z tcberner $
2
# $FreeBSD: head/graphics/poppler-glib/Makefile 528853 2020-03-21 12:57:09Z tcberner $
3
3
4
PORTREVISION=	1
4
PORTREVISION=	2
5
5
6
COMMENT=	GLib bindings to poppler
6
COMMENT=	GLib bindings to poppler
7
7
(-)poppler-qt5/Makefile (-1 / +1 lines)
Lines 1-6 Link Here
1
# $FreeBSD: head/graphics/poppler-qt5/Makefile 523824 2020-01-22 17:59:22Z tcberner $
1
# $FreeBSD: head/graphics/poppler-qt5/Makefile 523824 2020-01-22 17:59:22Z tcberner $
2
2
3
PORTREVISION=	0
3
PORTREVISION=	1
4
PKGNAMESUFFIX=	-qt5
4
PKGNAMESUFFIX=	-qt5
5
5
6
COMMENT=	Qt 5 bindings to poppler
6
COMMENT=	Qt 5 bindings to poppler
(-)poppler-utils/Makefile (-1 / +1 lines)
Lines 1-7 Link Here
1
# Created by: Michael Nottebrock <lofi@FreeBSD.org>
1
# Created by: Michael Nottebrock <lofi@FreeBSD.org>
2
# $FreeBSD: head/graphics/poppler-utils/Makefile 523824 2020-01-22 17:59:22Z tcberner $
2
# $FreeBSD: head/graphics/poppler-utils/Makefile 523824 2020-01-22 17:59:22Z tcberner $
3
3
4
PORTREVISION=	0
4
PORTREVISION=	1
5
5
6
COMMENT=	Poppler's xpdf-workalike command line utilities # '
6
COMMENT=	Poppler's xpdf-workalike command line utilities # '
7
7

Return to bug 245093