Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 312217 Details for
Bug 416545
dev-tex/luatex-0.70.1 fails to build with >=poppler-0.20.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to build against >=poppler-0.20.0
poppler020.patch (text/plain), 2.75 KB, created by
Rafał Mużyło
on 2012-05-18 18:17:29 UTC
(
hide
)
Description:
patch to build against >=poppler-0.20.0
Filename:
MIME Type:
Creator:
Rafał Mużyło
Created:
2012-05-18 18:17:29 UTC
Size:
2.75 KB
patch
obsolete
>--- source/texk/web2c/luatexdir/lua/lepdflib.cc 2012-05-18 16:23:53.000000000 +0200 >+++ source/texk/web2c/luatexdir/lua/lepdflib.cc 2012-05-18 17:43:12.959843483 +0200 >@@ -151,7 +151,7 @@ static int l_new_Annot(lua_State * L) > pdfdoc_changed_error(L); > uout = new_Annot_userdata(L); > uout->d = >- new Annot((XRef *) uxref->d, (Dict *) udict->d, (Catalog *) ucatalog->d, >+ new Annot(udict->pd->doc, (Dict *) udict->d, > (Object *) uref->d); > uout->atype = ALLOC_LEPDF; > uout->pc = uxref->pc; >@@ -173,7 +173,7 @@ static int l_new_Annots(lua_State * L) > pdfdoc_changed_error(L); > uout = new_Annots_userdata(L); > uout->d = >- new Annots((XRef *) uxref->d, (Catalog *) ucatalog->d, >+ new Annots(uannotsobj->pd->doc, > (Object *) uannotsobj->d); > uout->atype = ALLOC_LEPDF; > uout->pc = uxref->pc; >@@ -363,7 +363,7 @@ static int m_##type##__tostring(lua_Stat > // Annot > > m_poppler_get_BOOL(Annot, isOk); >-m_poppler_get_OBJECT(Annot, getAppearance); >+m_poppler_get_OBJECT(Annot, getAppearanceResDict); > m_poppler_get_poppler(Annot, AnnotBorder, getBorder); > > static int m_Annot_match(lua_State * L) >@@ -398,7 +398,7 @@ static int m_Annot__gc(lua_State * L) > > static const struct luaL_Reg Annot_m[] = { > {"isOk", m_Annot_isOk}, >- {"getAppearance", m_Annot_getAppearance}, >+ {"getAppearanceResDict", m_Annot_getAppearanceResDict}, > {"getBorder", m_Annot_getBorder}, > {"match", m_Annot_match}, > {"__tostring", m_Annot__tostring}, >@@ -1249,7 +1249,7 @@ static int m_Object_getType(lua_State * > > static int m_Object_getTypeName(lua_State * L) > { >- char *s; >+ const char *s; > udstruct *uin; > uin = (udstruct *) luaL_checkudata(L, 1, M_Object); > if (uin->pd != NULL && uin->pd->pc != uin->pc) >@@ -1936,7 +1936,7 @@ static int m_Page_getLinks(lua_State * L > if ((uin->pd != NULL && uin->pd->pc != uin->pc) > || (ucat->pd != NULL && ucat->pd->pc != ucat->pd->pc)) > pdfdoc_changed_error(L); >- links = ((Page *) uin->d)->getLinks((Catalog *) ucat->d); >+ links = ((Page *) uin->d)->getLinks(); > if (links != NULL) { > uout = new_Links_userdata(L); > uout->d = links; >@@ -2531,7 +2531,6 @@ m_poppler_get_INT(XRef, getNumObjects); > 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); > >@@ -2558,7 +2557,6 @@ static const struct luaL_Reg XRef_m[] = > {"getRootNum", m_XRef_getRootNum}, > {"getRootGen", m_XRef_getRootGen}, > // >- {"getSize", m_XRef_getSize}, > {"getTrailerDict", m_XRef_getTrailerDict}, > {"__tostring", m_XRef__tostring}, > {NULL, NULL} // sentinel
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 416545
: 312217