Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 571372 Details for
Bug 681338
app-text/texlive-core-2017-r4 fails to build with app-text/poppler 0.75.*: pdftoepdf.cc:290:31: error: use of deleted function 'Object& Object::operator=(const Object&)'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
texlive-core-2017-poppler075.patch
texlive-core-2017-poppler075.patch (text/plain), 7.07 KB, created by
Arfrever Frehtes Taifersar Arahesis
on 2019-03-31 11:53:18 UTC
(
hide
)
Description:
texlive-core-2017-poppler075.patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2019-03-31 11:53:18 UTC
Size:
7.07 KB
patch
obsolete
>--- /texk/web2c/luatexdir/image/pdftoepdf.w >+++ /texk/web2c/luatexdir/image/pdftoepdf.w >@@ -412,7 +412,7 @@ > Object obj1; > pdf_begin_array(pdf); > for (i = 0, l = array->getLength(); i < l; ++i) { >- obj1 = array->getNF(i); >+ obj1 = array->get(i); > copyObject(pdf, pdf_doc, &obj1); > } > pdf_end_array(pdf); >@@ -425,7 +425,7 @@ > pdf_begin_dict(pdf); > for (i = 0, l = dict->getLength(); i < l; ++i) { > copyName(pdf, dict->getKey(i)); >- obj1 = dict->getValNF(i); >+ obj1 = dict->getVal(i); > copyObject(pdf, pdf_doc, &obj1); > } > pdf_end_dict(pdf); >@@ -788,12 +788,12 @@ > Now all relevant parts of the Page dictionary are copied. Metadata validity > check is needed(as a stream it must be indirect). > */ >- obj1 = pageDict->lookupNF("Metadata"); >+ obj1 = pageDict->lookup("Metadata"); > if (!obj1.isNull() && !obj1.isRef()) > formatted_warning("pdf inclusion","/Metadata must be indirect object"); > /* copy selected items in Page dictionary */ > for (i = 0; pagedictkeys[i] != NULL; i++) { >- obj1 = pageDict->lookupNF(pagedictkeys[i]); >+ obj1 = pageDict->lookup(pagedictkeys[i]); > if (!obj1.isNull()) { > pdf_add_name(pdf, pagedictkeys[i]); > /* preserves indirection */ >@@ -806,13 +806,13 @@ > PDF file, climbing up the tree until the Resources are found. > (This fixes a problem with Scribus 1.3.3.14.) > */ >- obj1 = pageDict->lookupNF("Resources"); >+ obj1 = pageDict->lookup("Resources"); > if (obj1.isNull()) { > op1 = &pagesobj1; > op2 = &pagesobj2; > *op1 = pageDict->lookup("Parent"); > while (op1->isDict()) { >- obj1 = op1->dictLookupNF("Resources"); >+ obj1 = op1->dictLookup("Resources"); > if (!obj1.isNull()) { > pdf_add_name(pdf, "Resources"); > copyObject(pdf, pdf_doc, &obj1); >--- /texk/web2c/luatexdir/lua/lepdflib.cc >+++ /texk/web2c/luatexdir/lua/lepdflib.cc >@@ -736,7 +736,7 @@ > if (i > 0 && i <= len) { > uout = new_Object_userdata(L); > uout->d = new Object(); >- *((Object *) uout->d) = ((Array *) uin->d)->getNF(i - 1); >+ *((Object *) uout->d) = ((Array *) uin->d)->get(i - 1); > uout->atype = ALLOC_LEPDF; > uout->pc = uin->pc; > uout->pd = uin->pd; >@@ -1037,7 +1037,7 @@ > s = luaL_checkstring(L, 2); > uout = new_Object_userdata(L); > uout->d = new Object(); >- *((Object *) uout->d) = ((Dict *) uin->d)->lookupNF(s); >+ *((Object *) uout->d) = ((Dict *) uin->d)->lookup(s); > uout->atype = ALLOC_LEPDF; > uout->pc = uin->pc; > uout->pd = uin->pd; >@@ -1110,7 +1110,7 @@ > if (i > 0 && i <= len) { > uout = new_Object_userdata(L); > uout->d = new Object(); >- *((Object *) uout->d) = ((Dict *) uin->d)->getValNF(i - 1); >+ *((Object *) uout->d) = ((Dict *) uin->d)->getVal(i - 1); > uout->atype = ALLOC_LEPDF; > uout->pc = uin->pc; > uout->pd = uin->pd; >@@ -1500,7 +1500,8 @@ > pdfdoc_changed_error(L); > num = luaL_checkint(L, 2); > gen = luaL_checkint(L, 3); >- *((Object *) uin->d) = Object(num, gen); >+ const Ref ref = {num, gen}; >+ *((Object *) uin->d) = Object(ref); > return 0; > } > >@@ -1854,7 +1855,7 @@ > if (i > 0 && i <= len) { > uout = new_Object_userdata(L); > uout->d = new Object(); >- *((Object *) uout->d) = ((Object *) uin->d)->arrayGetNF(i - 1); >+ *((Object *) uout->d) = ((Object *) uin->d)->arrayGet(i - 1); > uout->atype = ALLOC_LEPDF; > uout->pc = uin->pc; > uout->pd = uin->pd; >@@ -1947,7 +1948,7 @@ > if (((Object *) uin->d)->isDict()) { > uout = new_Object_userdata(L); > uout->d = new Object(); >- *((Object *) uout->d) = ((Object *) uin->d)->dictLookupNF(s); >+ *((Object *) uout->d) = ((Object *) uin->d)->dictLookup(s); > uout->atype = ALLOC_LEPDF; > uout->pc = uin->pc; > uout->pd = uin->pd; >@@ -2012,7 +2013,7 @@ > if (i > 0 && i <= len) { > uout = new_Object_userdata(L); > uout->d = new Object(); >- *((Object *) uout->d) = ((Object *) uin->d)->dictGetValNF(i - 1); >+ *((Object *) uout->d) = ((Object *) uin->d)->dictGetVal(i - 1); > uout->atype = ALLOC_LEPDF; > uout->pc = uin->pc; > uout->pd = uin->pd; >--- /texk/web2c/pdftexdir/pdftoepdf.cc >+++ /texk/web2c/pdftexdir/pdftoepdf.cc >@@ -287,7 +287,7 @@ > Object obj1; > copyName((char *)obj->dictGetKey(i)); > pdf_puts(" "); >- obj1 = obj->dictGetValNF(i); >+ obj1 = obj->dictGetVal(i); > copyObject(&obj1); > pdf_puts("\n"); > } >@@ -346,7 +346,7 @@ > obj->getTypeName()); > pdf_puts("/ProcSet [ "); > for (i = 0, l = obj->arrayGetLength(); i < l; ++i) { >- procset = obj->arrayGetNF(i); >+ procset = obj->arrayGet(i); > if (!procset.isName()) > pdftex_fail("PDF inclusion: invalid ProcSet entry type <%s>", > procset.getTypeName()); >@@ -401,7 +401,7 @@ > if (fontdict.isDict()) { > subtype = fontdict.dictLookup("Subtype"); > basefont = fontdict.dictLookup("BaseFont"); >- fontdescRef = fontdict.dictLookupNF("FontDescriptor"); >+ fontdescRef = fontdict.dictLookup("FontDescriptor"); > if (fontdescRef.isRef()) { > fontdesc = fontdescRef.fetch(xref); > } >@@ -447,7 +447,7 @@ > obj->getTypeName()); > pdf_puts("/Font << "); > for (i = 0, l = obj->dictGetLength(); i < l; ++i) { >- fontRef = obj->dictGetValNF(i); >+ fontRef = obj->dictGetVal(i); > if (fontRef.isRef()) > copyFont(obj->dictGetKey(i), &fontRef); > else if (fontRef.isDict()) { // some programs generate pdf with embedded font object >@@ -590,7 +590,7 @@ > } else if (obj->isArray()) { > pdf_puts("["); > for (i = 0, l = obj->arrayGetLength(); i < l; ++i) { >- obj1 = obj->arrayGetNF(i); >+ obj1 = obj->arrayGet(i); > if (!obj1.isName()) > pdf_puts(" "); > copyObject(&obj1); >@@ -928,13 +928,13 @@ > pdf_puts(stripzeros(s)); > > // Metadata validity check (as a stream it must be indirect) >- dictObj = pageDict->lookupNF("Metadata"); >+ dictObj = pageDict->lookup("Metadata"); > if (!dictObj.isNull() && !dictObj.isRef()) > pdftex_warn("PDF inclusion: /Metadata must be indirect object"); > > // copy selected items in Page dictionary except Resources & Group > for (i = 0; pageDictKeys[i] != NULL; i++) { >- dictObj = pageDict->lookupNF(pageDictKeys[i]); >+ dictObj = pageDict->lookup(pageDictKeys[i]); > if (!dictObj.isNull()) { > pdf_newline(); > pdf_printf("/%s ", pageDictKeys[i]); >@@ -943,7 +943,7 @@ > } > > // handle page group >- dictObj = pageDict->lookupNF("Group"); >+ dictObj = pageDict->lookup("Group"); > if (!dictObj.isNull()) { > if (pdfpagegroupval == 0) { > // another pdf with page group was included earlier on the
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 681338
:
570330
|
571372
|
575486
|
575488