summaryrefslogtreecommitdiff
path: root/app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-03 16:06:58 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-03 16:06:58 +0000
commitbd4aeefe33e63f613512604e47bfca7b2187697d (patch)
treeadb35b5a9a00ee7ea591ab0c987f70167c23b597 /app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch
parent48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff)
gentoo resync : 03.11.2019
Diffstat (limited to 'app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch')
-rw-r--r--app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch11
1 files changed, 11 insertions, 0 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
new file mode 100644
index 000000000000..e031db3c9188
--- /dev/null
+++ b/app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch
@@ -0,0 +1,11 @@
+--- 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);
+