[arch-commits] Commit in inkscape/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Jan 7 22:39:11 UTC 2020


    Date: Tuesday, January 7, 2020 @ 22:39:11
  Author: arojas
Revision: 372785

Fix build with poppler 0.83

Modified:
  inkscape/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++++
 1 file changed, 5 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-07 22:35:01 UTC (rev 372784)
+++ PKGBUILD	2020-01-07 22:39:11 UTC (rev 372785)
@@ -44,6 +44,11 @@
         sed -e 's|new Lexer(xref, obj)|obj|g' -i src/extension/internal/pdfinput/pdf-parser.cpp
        # Fix build with poppler 0.82
         sed -e 's|Unicode \*u|Unicode const *u|g' -i src/extension/internal/pdfinput/*
+       # Fix build with poppler 0.83
+        sed -e 's|(GfxPath|(const GfxPath|g' -e 's|GfxSubpath|const GfxSubpath|g' \
+          -e 's|new GlobalParams()|std::unique_ptr<GlobalParams>(new GlobalParams())|g' \
+          -e 's|new GlobalParams(poppler_datadir)|std::unique_ptr<GlobalParams>(new GlobalParams(poppler_datadir))|g' \
+          -i src/extension/internal/pdfinput/*.cpp
 }
 
 build() {



More information about the arch-commits mailing list