SHA256
1
0
forked from pool/texlive
Dr. Werner Fink 2012-05-18 14:27:20 +00:00 committed by Git OBS Bridge
parent 090c1c6119
commit 8ce02ce818
2 changed files with 35 additions and 0 deletions

View File

@ -74,6 +74,26 @@
extern "C" {
--- texk/web2c/luatexdir/lua/lepdflib.cc
+++ texk/web2c/luatexdir/lua/lepdflib.cc 2012-05-18 14:20:44.398065418 +0000
@@ -2648,8 +2648,6 @@ m_poppler_get_INT(XRef, getNumObjects);
// getLastXRefPos
m_poppler_get_INT(XRef, getRootNum);
m_poppler_get_INT(XRef, getRootGen);
-// getStreamEnd
-m_poppler_get_INT(XRef, getSize);
// getEntry
m_poppler_get_poppler(XRef, Object, getTrailerDict);
@@ -2676,7 +2674,7 @@ static const struct luaL_Reg XRef_m[] =
{"getRootNum", m_XRef_getRootNum},
{"getRootGen", m_XRef_getRootGen},
//
- {"getSize", m_XRef_getSize},
+ {"getSize", m_XRef_getNumObjects},
{"getTrailerDict", m_XRef_getTrailerDict},
{"__tostring", m_XRef__tostring},
{NULL, NULL} // sentinel
--- texk/web2c/pdftexdir/pdftexextra.h
+++ texk/web2c/pdftexdir/pdftexextra.h 2011-09-13 14:46:22.147926062 +0000
@@ -25,7 +25,11 @@ with this program. If not, see <http://
@ -192,6 +212,15 @@
static XRef *xref = 0;
@@ -130,7 +134,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)
--- texk/web2c/pdftexdir/utils.c
+++ texk/web2c/pdftexdir/utils.c 2009-09-04 08:38:04.000000000 +0000
@@ -42,12 +42,12 @@ with this program. If not, see <http://

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 18 14:25:00 UTC 2012 - werner@suse.de
- Be aware new poppler library, there is no getSize() but only
getNumObjects()
-------------------------------------------------------------------
Mon May 14 14:14:13 UTC 2012 - werner@suse.de