texk/web2c/luatexdir/lua/lepdflib.cc needs one little teak more for

poppler 0.22
This commit is contained in:
spz 2013-03-24 17:00:29 +00:00
parent 3affe1c8c0
commit aee1efd8ff
3 changed files with 7 additions and 7 deletions

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.20 2013/02/16 11:24:12 wiz Exp $
# $NetBSD: Makefile,v 1.21 2013/03/24 17:00:29 spz Exp $
DISTNAME= luatex-beta-0.70.1
PKGNAME= ${DISTNAME:S/-beta//:S/-source//}
PKGREVISION= 6
PKGREVISION= 7
CATEGORIES= print
MASTER_SITES= http://foundry.supelec.fr/gf/download/frsrelease/392/1730/
EXTRACT_SUFX= .tar.bz2

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.10 2012/08/14 11:36:25 obache Exp $
$NetBSD: distinfo,v 1.11 2013/03/24 17:00:29 spz Exp $
SHA1 (luatex-beta-0.70.1.tar.bz2) = 063bd698daab38ac6b04b45c820a15a0423aaab5
RMD160 (luatex-beta-0.70.1.tar.bz2) = dfa3710bb48ba5d73ae5e41746d7c1a3a965f619
@ -6,5 +6,5 @@ Size (luatex-beta-0.70.1.tar.bz2) = 8181155 bytes
SHA1 (patch-aa) = 738c8bd631db36671d2c4eb48a360b7a16186c64
SHA1 (patch-ab) = ee8ad45e980e655702925a164ee0ce6dd1689366
SHA1 (patch-ac) = 52211165bd6d05e4f8ce4d6280f5091280623d75
SHA1 (patch-ad) = 8147f70d64516a08cbca5cd79d92b00894c702ed
SHA1 (patch-ad) = 8342a32d0196e0b9287aee269a4bbe00d04edb8a
SHA1 (patch-texk_web2c_luatexdir_luatex.c) = 2b5e37e3c0fa1d42fc5782eec562bbc0040d1404

View file

@ -1,6 +1,6 @@
$NetBSD: patch-ad,v 1.4 2012/07/05 10:23:23 wiz Exp $
$NetBSD: patch-ad,v 1.5 2013/03/24 17:00:30 spz Exp $
Fix build with poppler-0.20.
Fix build with poppler-0.22
--- texk/web2c/luatexdir/lua/lepdflib.cc.orig 2011-05-19 05:38:37.000000000 +0000
+++ texk/web2c/luatexdir/lua/lepdflib.cc
@ -28,7 +28,7 @@ Fix build with poppler-0.20.
uout = new_Annots_userdata(L);
uout->d =
- new Annots((XRef *) uxref->d, (Catalog *) ucatalog->d,
+ new Annots((PDFDoc *) uxref->d,
+ new Annots((PDFDoc *) uxref->d, (int) 0,
(Object *) uannotsobj->d);
uout->atype = ALLOC_LEPDF;
uout->pc = uxref->pc;