FreeBSD Bugzilla – Attachment 212778 Details for
Bug 245093
graphics/poppler: 0.86.1 broke opening PDFs with links (via graphics/evince)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update diff
poppler.diff (text/plain), 4.84 KB, created by
Ashish SHUKLA
on 2020-03-28 08:52:24 UTC
(
hide
)
Description:
Update diff
Filename:
MIME Type:
Creator:
Ashish SHUKLA
Created:
2020-03-28 08:52:24 UTC
Size:
4.84 KB
patch
obsolete
>diff -urN /usr/ports/graphics/poppler/Makefile poppler/Makefile >--- /usr/ports/graphics/poppler/Makefile 2020-03-21 18:27:09.000000000 +0530 >+++ poppler/Makefile 2020-03-28 13:40:56.018985000 +0530 >@@ -3,6 +3,7 @@ > > PORTNAME= poppler > DISTVERSION= 0.86.1 >+PORTREVISION?= 1 > CATEGORIES= graphics print > MASTER_SITES= https://poppler.freedesktop.org/ > >diff -urN /usr/ports/graphics/poppler/files/patch-glib_poppler-action.cc poppler/files/patch-glib_poppler-action.cc >--- /usr/ports/graphics/poppler/files/patch-glib_poppler-action.cc 1970-01-01 05:30:00.000000000 +0530 >+++ poppler/files/patch-glib_poppler-action.cc 2020-03-27 21:15:51.734128000 +0530 >@@ -0,0 +1,51 @@ >+--- glib/poppler-action.cc.orig 2020-03-01 19:52:52 UTC >++++ glib/poppler-action.cc >+@@ -627,39 +627,39 @@ _poppler_action_new (PopplerDocument *document, >+ switch (link->getKind ()) { >+ case actionGoTo: >+ action->type = POPPLER_ACTION_GOTO_DEST; >+- build_goto_dest (document, action, dynamic_cast <const LinkGoTo *> (link)); >++ build_goto_dest (document, action, static_cast <const LinkGoTo *> (link)); >+ break; >+ case actionGoToR: >+ action->type = POPPLER_ACTION_GOTO_REMOTE; >+- build_goto_remote (action, dynamic_cast <const LinkGoToR *> (link)); >++ build_goto_remote (action, static_cast <const LinkGoToR *> (link)); >+ break; >+ case actionLaunch: >+ action->type = POPPLER_ACTION_LAUNCH; >+- build_launch (action, dynamic_cast <const LinkLaunch *> (link)); >++ build_launch (action, static_cast <const LinkLaunch *> (link)); >+ break; >+ case actionURI: >+ action->type = POPPLER_ACTION_URI; >+- build_uri (action, dynamic_cast <const LinkURI *> (link)); >++ build_uri (action, static_cast <const LinkURI *> (link)); >+ break; >+ case actionNamed: >+ action->type = POPPLER_ACTION_NAMED; >+- build_named (action, dynamic_cast <const LinkNamed *> (link)); >++ build_named (action, static_cast <const LinkNamed *> (link)); >+ break; >+ case actionMovie: >+ action->type = POPPLER_ACTION_MOVIE; >+- build_movie (document, action, dynamic_cast<const LinkMovie*> (link)); >++ build_movie (document, action, static_cast<const LinkMovie*> (link)); >+ break; >+ case actionRendition: >+ action->type = POPPLER_ACTION_RENDITION; >+- build_rendition (action, dynamic_cast<const LinkRendition*> (link)); >++ build_rendition (action, static_cast<const LinkRendition*> (link)); >+ break; >+ case actionOCGState: >+ action->type = POPPLER_ACTION_OCG_STATE; >+- build_ocg_state (document, action, dynamic_cast<const LinkOCGState*> (link)); >++ build_ocg_state (document, action, static_cast<const LinkOCGState*> (link)); >+ break; >+ case actionJavaScript: >+ action->type = POPPLER_ACTION_JAVASCRIPT; >+- build_javascript (action, dynamic_cast<const LinkJavaScript*> (link)); >++ build_javascript (action, static_cast<const LinkJavaScript*> (link)); >+ break; >+ case actionUnknown: >+ default: >diff -urN /usr/ports/graphics/poppler/files/patch-utils_HtmlOutputDev.cc poppler/files/patch-utils_HtmlOutputDev.cc >--- /usr/ports/graphics/poppler/files/patch-utils_HtmlOutputDev.cc 1970-01-01 05:30:00.000000000 +0530 >+++ poppler/files/patch-utils_HtmlOutputDev.cc 2020-03-27 21:15:51.735410000 +0530 >@@ -0,0 +1,11 @@ >+--- utils/HtmlOutputDev.cc.orig 2020-03-01 19:52:52 UTC >++++ utils/HtmlOutputDev.cc >+@@ -1838,7 +1838,7 @@ int HtmlOutputDev::getOutlinePageNum(OutlineItem *item >+ if (!action || action->getKind() != actionGoTo) >+ return pagenum; >+ >+- link = dynamic_cast<const LinkGoTo*>(action); >++ link = static_cast<const LinkGoTo*>(action); >+ >+ if (!link || !link->isOk()) >+ return pagenum; >diff -urN /usr/ports/graphics/poppler-glib/Makefile poppler-glib/Makefile >--- /usr/ports/graphics/poppler-glib/Makefile 2020-03-21 18:27:09.000000000 +0530 >+++ poppler-glib/Makefile 2020-03-28 13:51:48.661136000 +0530 >@@ -1,7 +1,7 @@ > # Created by: Michael Johnson <ahze@FreeBSD.org> > # $FreeBSD: head/graphics/poppler-glib/Makefile 528853 2020-03-21 12:57:09Z tcberner $ > >-PORTREVISION= 1 >+PORTREVISION= 2 > > COMMENT= GLib bindings to poppler > >diff -urN /usr/ports/graphics/poppler-qt5/Makefile poppler-qt5/Makefile >--- /usr/ports/graphics/poppler-qt5/Makefile 2020-01-22 23:29:22.000000000 +0530 >+++ poppler-qt5/Makefile 2020-03-28 13:52:00.332942000 +0530 >@@ -1,6 +1,6 @@ > # $FreeBSD: head/graphics/poppler-qt5/Makefile 523824 2020-01-22 17:59:22Z tcberner $ > >-PORTREVISION= 0 >+PORTREVISION= 1 > PKGNAMESUFFIX= -qt5 > > COMMENT= Qt 5 bindings to poppler >diff -urN /usr/ports/graphics/poppler-utils/Makefile poppler-utils/Makefile >--- /usr/ports/graphics/poppler-utils/Makefile 2020-01-22 23:29:22.000000000 +0530 >+++ poppler-utils/Makefile 2020-03-28 13:51:40.021273000 +0530 >@@ -1,7 +1,7 @@ > # Created by: Michael Nottebrock <lofi@FreeBSD.org> > # $FreeBSD: head/graphics/poppler-utils/Makefile 523824 2020-01-22 17:59:22Z tcberner $ > >-PORTREVISION= 0 >+PORTREVISION= 1 > > COMMENT= Poppler's xpdf-workalike command line utilities # ' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
tcberner
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 245093
:
212744
|
212745
|
212758
| 212778