web2c: fix previous patch to return correct pagebox values.

was always returning mediabox
This commit is contained in:
markd 2019-02-28 19:34:49 +00:00
parent 30d6b0e1c0
commit 2359b0e011
3 changed files with 6 additions and 6 deletions

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.80 2019/02/16 13:26:51 wiz Exp $
# $NetBSD: Makefile,v 1.81 2019/02/28 19:34:49 markd Exp $
DISTNAME= texlive-20180414-source
PKGNAME= web2c-2018
PKGREVISION= 9
PKGREVISION= 10
CATEGORIES= print
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2018/
EXTRACT_SUFX= .tar.xz

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.31 2019/02/17 11:44:38 tnn Exp $
$NetBSD: distinfo,v 1.32 2019/02/28 19:34:49 markd Exp $
SHA1 (texlive-20180414-source.tar.xz) = 81bdd9999b6ab860d1d3c388cf27062aba960255
RMD160 (texlive-20180414-source.tar.xz) = 0ff63bbd7f8a0fb6417089f5d1ae1e4124a1dd95
@ -7,7 +7,7 @@ Size (texlive-20180414-source.tar.xz) = 49770944 bytes
SHA1 (patch-Makefile.in) = 28e7ad00f3796b49f92c5cc3eb3c94bdf38b1364
SHA1 (patch-am) = b7b81b1161a2117e756b25b80f9a676575267bdd
SHA1 (patch-pdftexdir_pdftex-common.h) = 59f32828de5dd032307467d83e43f21382a39330
SHA1 (patch-pdftexdir_pdftoepdf-newpoppler.cc) = 0fcd475d4dce7778e3f49fb7eb66f79d61f5ba10
SHA1 (patch-pdftexdir_pdftoepdf-newpoppler.cc) = 5e49877943211d068f7daff190351e13a1b059d3
SHA1 (patch-pdftexdir_pdftosrc-newpoppler.cc) = 497c4d87ae6882e1488b9e440e011680e7a46f62
SHA1 (patch-pdftexdir_writeenc.c) = daf41fec97d3d3e46063d8cf4c559d96e1ec69bf
SHA1 (patch-pdftexdir_writet1.c) = 7d00d5d5d3f884bc1f9946cb3fbcaa7f224df9de

View file

@ -1,4 +1,4 @@
$NetBSD: patch-pdftexdir_pdftoepdf-newpoppler.cc,v 1.3 2018/12/11 13:59:04 ryoon Exp $
$NetBSD: patch-pdftexdir_pdftoepdf-newpoppler.cc,v 1.4 2019/02/28 19:34:50 markd Exp $
--- pdftexdir/pdftoepdf-newpoppler.cc.orig 2018-04-04 04:08:11.000000000 +0000
+++ pdftexdir/pdftoepdf-newpoppler.cc
@ -119,7 +119,7 @@ $NetBSD: patch-pdftexdir_pdftoepdf-newpoppler.cc,v 1.3 2018/12/11 13:59:04 ryoon
pdftex_fail("PDF inclusion: unknown value of pagebox spec (%i)",
(int) pagebox_spec);
- return page->getMediaBox(); // to make the compiler happy
+ ret = page->getMediaBox(); // to make the compiler happy
+ // ret = page->getMediaBox(); // to make the compiler happy
+
+ return const_cast<PDFRectangle*>(ret);
}