diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2023-04-28 03:30:48 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-04-29 18:11:41 +0700 |
commit | 01aa77a1dcffcd30067a7a436ea8b9444f338a42 (patch) | |
tree | c0aaef43c22f4ea611474d08bc589b500669823d /graphics/inkscape-gtk2/poppler-21.11.0.patch | |
parent | eea8e1e3dfc04bf103dc02135a9349a2cc5c36eb (diff) |
graphics/inkscape-gtk2: Added (Open Source vector graphics editor)
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/inkscape-gtk2/poppler-21.11.0.patch')
-rw-r--r-- | graphics/inkscape-gtk2/poppler-21.11.0.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/graphics/inkscape-gtk2/poppler-21.11.0.patch b/graphics/inkscape-gtk2/poppler-21.11.0.patch new file mode 100644 index 0000000000000..dd908756f0478 --- /dev/null +++ b/graphics/inkscape-gtk2/poppler-21.11.0.patch @@ -0,0 +1,26 @@ +From ff61b5e3df3351d4ab5437181fe6d34729f4cbbb 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); |