SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
converters/k2pdfopt/patches/patch-mupdf_mod_stext-device_c
Normal file
12
converters/k2pdfopt/patches/patch-mupdf_mod_stext-device_c
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: mupdf_mod/stext-device.c
|
||||
--- mupdf_mod/stext-device.c.orig
|
||||
+++ mupdf_mod/stext-device.c
|
||||
@@ -1097,7 +1097,7 @@ fz_parse_stext_options(fz_context *ctx, fz_stext_optio
|
||||
fz_device *
|
||||
fz_new_stext_device(fz_context *ctx, fz_stext_sheet *sheet, fz_stext_page *page, const fz_stext_options *opts)
|
||||
{
|
||||
- fz_stext_device *dev = fz_new_device(ctx, sizeof *dev);
|
||||
+ fz_stext_device *dev = fz_new_derived_device(ctx, fz_stext_device);
|
||||
|
||||
dev->super.hints = FZ_IGNORE_IMAGE | FZ_IGNORE_SHADE;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue