diff options
Diffstat (limited to 'print/zathura-pdf-mupdf/patches/patch-plugin.h')
-rw-r--r-- | print/zathura-pdf-mupdf/patches/patch-plugin.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/print/zathura-pdf-mupdf/patches/patch-plugin.h b/print/zathura-pdf-mupdf/patches/patch-plugin.h new file mode 100644 index 00000000000..e7b7483f627 --- /dev/null +++ b/print/zathura-pdf-mupdf/patches/patch-plugin.h @@ -0,0 +1,17 @@ +$NetBSD: patch-plugin.h,v 1.1 2016/04/27 12:38:45 leot Exp $ + +Update to mupdf-1.9 API. + +--- plugin.h.orig 2016-02-14 22:49:46.000000000 +0000 ++++ plugin.h +@@ -21,8 +21,8 @@ typedef struct mupdf_page_s + { + fz_page* page; /**< Reference to the mupdf page */ + fz_context* ctx; /**< Context */ +- fz_text_sheet* sheet; /**< Text sheet */ +- fz_text_page* text; /**< Page text */ ++ fz_stext_sheet* sheet; /**< Text sheet */ ++ fz_stext_page* text; /**< Page text */ + fz_rect bbox; /**< Bbox */ + bool extracted_text; /**< If text has already been extracted */ + } mupdf_page_t; |