fbpdf: rebuild against mupdf-1.10.
This commit is contained in:
parent
5496fa3262
commit
07587b7656
2 changed files with 16 additions and 1 deletions
srcpkgs/fbpdf
15
srcpkgs/fbpdf/patches/mupdf-1.10.patch
Normal file
15
srcpkgs/fbpdf/patches/mupdf-1.10.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- mupdf.c.orig
|
||||
+++ mupdf.c
|
||||
@@ -33,10 +33,10 @@
|
||||
w = rect.x1 - rect.x0;
|
||||
h = rect.y1 - rect.y0;
|
||||
|
||||
- pix = fz_new_pixmap_with_bbox(doc->ctx, fz_device_rgb(doc->ctx), &bbox);
|
||||
+ pix = fz_new_pixmap_with_bbox(doc->ctx, fz_device_rgb(doc->ctx), &bbox, 1);
|
||||
fz_clear_pixmap_with_value(doc->ctx, pix, 0xff);
|
||||
|
||||
- dev = fz_new_draw_device(doc->ctx, pix);
|
||||
+ dev = fz_new_draw_device(doc->ctx, NULL, pix);
|
||||
fz_run_page(doc->ctx, page, dev, &ctm, NULL);
|
||||
fz_drop_device(doc->ctx, dev);
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'fbpdf'
|
||||
pkgname=fbpdf
|
||||
version=0.0.20160408
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="fbpdf-43ca240"
|
||||
build_style=gnu-makefile
|
||||
makedepends="djvulibre-devel freetype-devel harfbuzz-devel libressl-devel mupdf-devel"
|
||||
|
|
Loading…
Reference in a new issue