pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/xetex xetex: fix build with poppler-0.71
details: https://anonhg.NetBSD.org/pkgsrc/rev/88fe67006185
branches: trunk
changeset: 326405:88fe67006185
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Dec 05 21:44:03 2018 +0000
description:
xetex: fix build with poppler-0.71
diffstat:
print/xetex/distinfo | 3 +-
print/xetex/patches/patch-texk_web2c_xetexdir_pdfimage.cpp | 31 ++++++++++++++
2 files changed, 33 insertions(+), 1 deletions(-)
diffs (49 lines):
diff -r f44a9318bac5 -r 88fe67006185 print/xetex/distinfo
--- a/print/xetex/distinfo Wed Dec 05 21:20:41 2018 +0000
+++ b/print/xetex/distinfo Wed Dec 05 21:44:03 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2018/05/13 13:06:29 markd Exp $
+$NetBSD: distinfo,v 1.22 2018/12/05 21:44:03 wiz Exp $
SHA1 (texlive-20180414-source.tar.xz) = 81bdd9999b6ab860d1d3c388cf27062aba960255
RMD160 (texlive-20180414-source.tar.xz) = 0ff63bbd7f8a0fb6417089f5d1ae1e4124a1dd95
@@ -6,3 +6,4 @@
Size (texlive-20180414-source.tar.xz) = 49770944 bytes
SHA1 (patch-texk_web2c_configure) = a6a4554f956d429a3142dbf8f85ba54a55ecaf05
SHA1 (patch-texk_web2c_xetexdir_XeTeX__ext.c) = a83e842b567db6acb35cfab5303a7e96845fa953
+SHA1 (patch-texk_web2c_xetexdir_pdfimage.cpp) = 80536965759abcf408bd02c326c23a11de697946
diff -r f44a9318bac5 -r 88fe67006185 print/xetex/patches/patch-texk_web2c_xetexdir_pdfimage.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/xetex/patches/patch-texk_web2c_xetexdir_pdfimage.cpp Wed Dec 05 21:44:03 2018 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-texk_web2c_xetexdir_pdfimage.cpp,v 1.1 2018/12/05 21:44:03 wiz Exp $
+
+Fix build with poppler-0.71.
+
+--- texk/web2c/xetexdir/pdfimage.cpp.orig 2017-08-06 07:12:02.000000000 +0000
++++ texk/web2c/xetexdir/pdfimage.cpp
+@@ -82,19 +82,19 @@ pdf_get_rect(char* filename, int page_nu
+ switch (pdf_box) {
+ default:
+ case pdfbox_crop:
+- r = page->getCropBox();
++ r = (PDFRectangle*)page->getCropBox();
+ break;
+ case pdfbox_media:
+- r = page->getMediaBox();
++ r = (PDFRectangle*)page->getMediaBox();
+ break;
+ case pdfbox_bleed:
+- r = page->getBleedBox();
++ r = (PDFRectangle*)page->getBleedBox();
+ break;
+ case pdfbox_trim:
+- r = page->getTrimBox();
++ r = (PDFRectangle*)page->getTrimBox();
+ break;
+ case pdfbox_art:
+- r = page->getArtBox();
++ r = (PDFRectangle*)page->getArtBox();
+ break;
+ }
+
Home |
Main Index |
Thread Index |
Old Index