diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
commit | bd4aeefe33e63f613512604e47bfca7b2187697d (patch) | |
tree | adb35b5a9a00ee7ea591ab0c987f70167c23b597 /app-text/zathura-pdf-mupdf/files | |
parent | 48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff) |
gentoo resync : 03.11.2019
Diffstat (limited to 'app-text/zathura-pdf-mupdf/files')
-rw-r--r-- | app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch | 11 |
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); + |