pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/xetex



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Dec  5 21:44:03 UTC 2018

Modified Files:
        pkgsrc/print/xetex: distinfo
Added Files:
        pkgsrc/print/xetex/patches: patch-texk_web2c_xetexdir_pdfimage.cpp

Log Message:
xetex: fix build with poppler-0.71


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/print/xetex/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/print/xetex/patches/patch-texk_web2c_xetexdir_pdfimage.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/xetex/distinfo
diff -u pkgsrc/print/xetex/distinfo:1.21 pkgsrc/print/xetex/distinfo:1.22
--- pkgsrc/print/xetex/distinfo:1.21    Sun May 13 13:06:29 2018
+++ pkgsrc/print/xetex/distinfo Wed Dec  5 21:44:03 2018
@@ -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 @@ SHA512 (texlive-20180414-source.tar.xz) 
 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

Added files:

Index: pkgsrc/print/xetex/patches/patch-texk_web2c_xetexdir_pdfimage.cpp
diff -u /dev/null pkgsrc/print/xetex/patches/patch-texk_web2c_xetexdir_pdfimage.cpp:1.1
--- /dev/null   Wed Dec  5 21:44:03 2018
+++ pkgsrc/print/xetex/patches/patch-texk_web2c_xetexdir_pdfimage.cpp   Wed Dec  5 21:44:03 2018
@@ -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