Fix build for poppler-0.20.
ok aja@
This commit is contained in:
parent
52834b82f9
commit
1b3ed43914
@ -1,16 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.57 2012/02/17 13:41:33 nigel Exp $
|
||||
# $OpenBSD: Makefile,v 1.58 2012/07/13 15:17:41 kili Exp $
|
||||
|
||||
COMMENT = base binaries for TeXLive typesetting distribution
|
||||
|
||||
DISTNAME = texlive-${DIST_V}-source
|
||||
PKGNAME = texlive_base-${V}
|
||||
REVISION = 4
|
||||
REVISION = 5
|
||||
|
||||
SHARED_LIBS = kpathsea 4.0
|
||||
SHARED_LIBS += ptexenc 1.0
|
||||
|
||||
WANTLIB += ICE SM X11 Xau Xaw Xdmcp Xext Xmu Xpm Xt c expat
|
||||
WANTLIB += fontconfig freetype gd jpeg lcms m ncurses
|
||||
WANTLIB += fontconfig freetype gd jpeg lcms2 m ncurses
|
||||
WANTLIB += openjpeg png>=3 poppler pthread pthread-stubs stdc++
|
||||
WANTLIB += t1>=4 tiff ttf xcb z
|
||||
|
||||
|
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-texk_web2c_pdftexdir_pdftosrc_cc,v 1.1 2012/07/13 15:17:41 kili Exp $
|
||||
|
||||
XRef::getSize() had been removed with poppler-0.20, so use
|
||||
XRef::getNumObjects(), which returns the same value.
|
||||
|
||||
--- texk/web2c/pdftexdir/pdftosrc.cc.origy Mon May 2 14:27:51 2011
|
||||
+++ texk/web2c/pdftexdir/pdftosrc.cc Wed Jul 11 15:56:50 2012
|
||||
@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
|
||||
exit(1);
|
||||
}
|
||||
if (extract_xref_table) {
|
||||
- int size = xref->getSize();
|
||||
+ int size = xref->getNumObjects();
|
||||
int i;
|
||||
for (i = 0; i < size; i++) {
|
||||
if (xref->getEntry(i)->offset == 0xffffffff)
|
Loading…
Reference in New Issue
Block a user