Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
inkscape
inkscape-poppler-build-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File inkscape-poppler-build-fix.patch of Package inkscape
From 5724c21b9cb7b6176a7b36ca24068b148c817e82 Mon Sep 17 00:00:00 2001 From: Evangelos Foutras <evangelos@foutrelis.com> Date: Mon, 1 Nov 2021 21:45:38 +0200 Subject: [PATCH] Fix build with poppler 21.11.0 GfxFont::tag is now of type std::string instead of GooString *. --- src/extension/internal/pdfinput/pdf-parser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/extension/internal/pdfinput/pdf-parser.cpp b/src/extension/internal/pdfinput/pdf-parser.cpp index e3d04d544b..feecefa043 100644 --- a/src/extension/internal/pdfinput/pdf-parser.cpp +++ b/src/extension/internal/pdfinput/pdf-parser.cpp @@ -2169,7 +2169,11 @@ void PdfParser::opSetFont(Object args[], int /*numArgs*/) } if (printCommands) { printf(" font: tag=%s name='%s' %g\n", +#if POPPLER_CHECK_VERSION(21,11,0) + font->getTag().c_str(), +#else font->getTag()->getCString(), +#endif font->getName() ? font->getName()->getCString() : "???", args[1].getNum()); fflush(stdout); -- 2.35.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor