pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/inkscape



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov  7 21:28:48 UTC 2021

Modified Files:
        pkgsrc/graphics/inkscape: distinfo
Added Files:
        pkgsrc/graphics/inkscape/patches:
            patch-src_extension_internal_pdfinput_pdf-parser.cpp

Log Message:
inkscape: fix build with poppler-21.11.0


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 pkgsrc/graphics/inkscape/distinfo
cvs rdiff -u -r0 -r1.15 \
    pkgsrc/graphics/inkscape/patches/patch-src_extension_internal_pdfinput_pdf-parser.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/inkscape/distinfo
diff -u pkgsrc/graphics/inkscape/distinfo:1.85 pkgsrc/graphics/inkscape/distinfo:1.86
--- pkgsrc/graphics/inkscape/distinfo:1.85      Tue Oct 26 10:46:20 2021
+++ pkgsrc/graphics/inkscape/distinfo   Sun Nov  7 21:28:48 2021
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.85 2021/10/26 10:46:20 nia Exp $
+$NetBSD: distinfo,v 1.86 2021/11/07 21:28:48 wiz Exp $
 
 BLAKE2s (inkscape-1.1.1_2021-09-20_3bf5ae0d25.tar.xz) = a3cd5ffae74aefb0f553393204a36f76eae6d36c4fec8c68040f2c0a903d1904
 SHA512 (inkscape-1.1.1_2021-09-20_3bf5ae0d25.tar.xz) = 22b1b584a344c4f4ebd0b6e84a4af44e472ef47b3971cb97cbb026a4bf7cb5bea49a7de0c2af2a9e439c7c794f775081c8d1904f33eadb49a5389ea01bc0896c
 Size (inkscape-1.1.1_2021-09-20_3bf5ae0d25.tar.xz) = 34221284 bytes
 SHA1 (patch-CMakeScripts_DefineDependsandFlags.cmake) = 26351c300629e28f6523fe2167a2eed5802435cf
 SHA1 (patch-src_extension_implementation_script.cpp) = da46549f688da5c9c0ecbeaeac7962e4f261cae4
+SHA1 (patch-src_extension_internal_pdfinput_pdf-parser.cpp) = e65c9c731927cec6ae595b7f2abbb94791dfde59

Added files:

Index: pkgsrc/graphics/inkscape/patches/patch-src_extension_internal_pdfinput_pdf-parser.cpp
diff -u /dev/null pkgsrc/graphics/inkscape/patches/patch-src_extension_internal_pdfinput_pdf-parser.cpp:1.15
--- /dev/null   Sun Nov  7 21:28:49 2021
+++ pkgsrc/graphics/inkscape/patches/patch-src_extension_internal_pdfinput_pdf-parser.cpp       Sun Nov  7 21:28:48 2021
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_extension_internal_pdfinput_pdf-parser.cpp,v 1.15 2021/11/07 21:28:48 wiz Exp $
+
+Fix build with poppler-21.11.0
+https://gitlab.com/inkscape/inkscape/-/merge_requests/3622/diffs?commit_id=d7fb99ff5708d4fe3cf3526966b73d81da71a7b2
+
+--- src/extension/internal/pdfinput/pdf-parser.cpp.orig        2021-05-25 11:35:00.000000000 +0000
++++ src/extension/internal/pdfinput/pdf-parser.cpp
+@@ -2169,7 +2169,11 @@ void PdfParser::opSetFont(Object args[],
+   }
+   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);



Home | Main Index | Thread Index | Old Index