Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 554708 Details for
Bug 670596
net-print/cups-filters with >=app-text/poppler-0.71.0: filter/pdftoraster.cxx:1689:45: error: invalid conversion from ‘const PDFRectangle*’ to ‘PDFRectangle*’ [-fpermissive] PDFRectangle *mediaBox = page->getMediaBox();
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cups-filters-poppler-0.71.patch
cups-filters-poppler-0.71.patch (text/plain), 1.56 KB, created by
Andrey Volkov
on 2018-11-09 21:39:27 UTC
(
hide
)
Description:
cups-filters-poppler-0.71.patch
Filename:
MIME Type:
Creator:
Andrey Volkov
Created:
2018-11-09 21:39:27 UTC
Size:
1.56 KB
patch
obsolete
>diff --git a/filter/pdftoijs.cxx b/filter/pdftoijs.cxx >index a9812be..20d5bd5 100644 >--- a/filter/pdftoijs.cxx >+++ b/filter/pdftoijs.cxx >@@ -70,7 +70,10 @@ namespace { > } > > #if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 19 >-#if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 23 >+#if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 70 >+void CDECL myErrorFun(void *data, ErrorCategory category, >+ Goffset pos, const char *msg) >+#elif POPPLER_VERSION_MINOR >= 23 > void CDECL myErrorFun(void *data, ErrorCategory category, > Goffset pos, char *msg) > #else >diff --git a/filter/pdftoraster.cxx b/filter/pdftoraster.cxx >index aabac8d..f02f211 100644 >--- a/filter/pdftoraster.cxx >+++ b/filter/pdftoraster.cxx >@@ -281,7 +281,10 @@ cmsHPROFILE sgray_profile() > } > > #if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 19 >-#if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 23 >+#if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 70 >+void CDECL myErrorFun(void *data, ErrorCategory category, >+ Goffset pos, const char *msg) >+#elif POPPLER_VERSION_MINOR >= 23 > void CDECL myErrorFun(void *data, ErrorCategory category, > Goffset pos, char *msg) > #else >@@ -1686,7 +1689,7 @@ static void outPage(PDFDoc *doc, Catalog *catalog, int pageNo, > { > SplashBitmap *bitmap; > Page *page = catalog->getPage(pageNo); >- PDFRectangle *mediaBox = page->getMediaBox(); >+ const PDFRectangle *mediaBox = page->getMediaBox(); > int rotate = page->getRotate(); > double paperdimensions[2], /* Physical size of the paper */ > margins[4]; /* Physical margins of print */
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 670596
:
554344
| 554708