diff options
Diffstat (limited to 'media-gfx/inkscape/files/inkscape-1.1-poppler-21.11.0.patch')
-rw-r--r-- | media-gfx/inkscape/files/inkscape-1.1-poppler-21.11.0.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media-gfx/inkscape/files/inkscape-1.1-poppler-21.11.0.patch b/media-gfx/inkscape/files/inkscape-1.1-poppler-21.11.0.patch new file mode 100644 index 000000000000..7b02253d5f9a --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-1.1-poppler-21.11.0.patch @@ -0,0 +1,20 @@ +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 *. +--- 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); +GitLab |