mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 16:02:55 +02:00
fbpdf: rebuild against mupdf-1.10.
This commit is contained in:
parent
5496fa3262
commit
07587b7656
2 changed files with 16 additions and 1 deletions
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'
|
# Template file for 'fbpdf'
|
||||||
pkgname=fbpdf
|
pkgname=fbpdf
|
||||||
version=0.0.20160408
|
version=0.0.20160408
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="fbpdf-43ca240"
|
wrksrc="fbpdf-43ca240"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="djvulibre-devel freetype-devel harfbuzz-devel libressl-devel mupdf-devel"
|
makedepends="djvulibre-devel freetype-devel harfbuzz-devel libressl-devel mupdf-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue