summaryrefslogtreecommitdiff
path: root/app-text/zathura-pdf-mupdf/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
commit5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch)
tree66e860a5099bcad013f1cf667255dc372a7c11b3 /app-text/zathura-pdf-mupdf/files
parent7218e1b46bceac05841e90472501742d905fb3fc (diff)
gentoo resync : 20.03.2021
Diffstat (limited to 'app-text/zathura-pdf-mupdf/files')
-rw-r--r--app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch11
-rw-r--r--app-text/zathura-pdf-mupdf/files/0.3.5-fz_location.patch44
2 files changed, 0 insertions, 55 deletions
diff --git a/app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch b/app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch
deleted file mode 100644
index e031db3c9188..000000000000
--- a/app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/zathura-pdf-mupdf/search.c 2019-09-12 11:29:21.527194069 +0200
-+++ b/zathura-pdf-mupdf/search.c 2019-09-12 11:30:11.648675352 +0200
-@@ -39,7 +39,7 @@
- mupdf_page_extract_text(mupdf_document, mupdf_page);
- }
-
-- fz_quad* hit_bbox = fz_malloc_array(mupdf_page->ctx, N_SEARCH_RESULTS, fz_quad);
-+ fz_quad* hit_bbox = fz_malloc_array(mupdf_page->ctx, N_SEARCH_RESULTS, sizeof(fz_quad));
- int num_results = fz_search_stext_page(mupdf_page->ctx, mupdf_page->text,
- text, hit_bbox, N_SEARCH_RESULTS);
-
diff --git a/app-text/zathura-pdf-mupdf/files/0.3.5-fz_location.patch b/app-text/zathura-pdf-mupdf/files/0.3.5-fz_location.patch
deleted file mode 100644
index 03c0bf24aab5..000000000000
--- a/app-text/zathura-pdf-mupdf/files/0.3.5-fz_location.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From c2dd7835b63ff68c0edc8a3182b3f994dc6ab4dd Mon Sep 17 00:00:00 2001
-From: a <a@a.com>
-Date: Sun, 16 Aug 2020 19:46:11 +0300
-Subject: [PATCH] fix conversion from 'fz_location' to 'unsigned int'
-
----
- zathura-pdf-mupdf/index.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/zathura-pdf-mupdf/index.c b/zathura-pdf-mupdf/index.c
-index c421f5c..996d012 100644
---- a/zathura-pdf-mupdf/index.c
-+++ b/zathura-pdf-mupdf/index.c
-@@ -67,7 +67,7 @@ build_index(fz_context* ctx, fz_document* document, fz_outline* outline, girara_
-
- 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_resolve_link(ctx, document, outline->uri, &x, &y).page;
- target.left = x;
- target.top = y;
- target.zoom = 0.0;
---
-
----
- zathura-pdf-mupdf/links.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/zathura-pdf-mupdf/links.c b/zathura-pdf-mupdf/links.c
-index 99c5715..2e8e90a 100644
---- a/zathura-pdf-mupdf/links.c
-+++ b/zathura-pdf-mupdf/links.c
-@@ -57,7 +57,7 @@ pdf_page_links_get(zathura_page_t* page, void* data, zathura_error_t* error)
- 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);
-+ mupdf_document->document, link->uri, &x, &y).page;
- target.left = x;
- target.top = y;
- target.zoom = 0.0;
---
-2.28.0
-