FreeBSD Bugzilla – Attachment 214598 Details for
Bug 246532
graphics/mupdf: Update to 1.17
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for graphics/zathura-pdf-mupdf
graphics_zathura-pdf-mupdf.svndiff (text/plain), 2.46 KB, created by
Fernando ApesteguĂa
on 2020-05-18 11:57:34 UTC
(
hide
)
Description:
Fix for graphics/zathura-pdf-mupdf
Filename:
MIME Type:
Creator:
Fernando ApesteguĂa
Created:
2020-05-18 11:57:34 UTC
Size:
2.46 KB
patch
obsolete
>Index: files/patch-zathura-pdf-mupdf_index.c >=================================================================== >--- files/patch-zathura-pdf-mupdf_index.c (nonexistent) >+++ files/patch-zathura-pdf-mupdf_index.c (working copy) >@@ -0,0 +1,11 @@ >+--- zathura-pdf-mupdf/index.c.orig 2020-05-18 10:56:42 UTC >++++ zathura-pdf-mupdf/index.c >+@@ -67,7 +67,7 @@ build_index(fz_context* ctx, fz_document* document, fz >+ >+ type = ZATHURA_LINK_GOTO_DEST; >+ target.destination_type = ZATHURA_LINK_DESTINATION_XYZ; >+- target.page_number = fz_resolve_link(ctx, document, outline->uri, &x, &y); >++ target.page_number = fz_page_number_from_location(ctx, document, fz_resolve_link(ctx, document, outline->uri, &x, &y)); >+ target.left = x; >+ target.top = y; >+ target.zoom = 0.0; > >Property changes on: files/patch-zathura-pdf-mupdf_index.c >___________________________________________________________________ >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 >Index: files/patch-zathura-pdf-mupdf_links.c >=================================================================== >--- files/patch-zathura-pdf-mupdf_links.c (nonexistent) >+++ files/patch-zathura-pdf-mupdf_links.c (working copy) >@@ -0,0 +1,15 @@ >+--- zathura-pdf-mupdf/links.c.orig 2020-05-18 11:05:39 UTC >++++ zathura-pdf-mupdf/links.c >+@@ -56,8 +56,10 @@ pdf_page_links_get(zathura_page_t* page, void* data, z >+ >+ type = ZATHURA_LINK_GOTO_DEST; >+ target.destination_type = ZATHURA_LINK_DESTINATION_XYZ; >+- target.page_number = fz_resolve_link(mupdf_document->ctx, >+- mupdf_document->document, link->uri, &x, &y); >++ target.page_number = >++ fz_page_number_from_location(mupdf_document->ctx, >++ mupdf_document->document, fz_resolve_link(mupdf_document->ctx, >++ mupdf_document->document, link->uri, &x, &y)); >+ target.left = x; >+ target.top = y; >+ target.zoom = 0.0; > >Property changes on: files/patch-zathura-pdf-mupdf_links.c >___________________________________________________________________ >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
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:
uzsolt
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 246532
:
214592
| 214598