From 14cc69703da76926f4c06ac187526659016521bf Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 8 Jan 2019 06:11:23 -0200 Subject: [PATCH] calligra: rebuild against libpoppler.so.84 --- srcpkgs/calligra/patches/poppler-073.patch | 23 ++++++++++++++++++++++ srcpkgs/calligra/template | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/calligra/patches/poppler-073.patch diff --git a/srcpkgs/calligra/patches/poppler-073.patch b/srcpkgs/calligra/patches/poppler-073.patch new file mode 100644 index 00000000000..deae9f3b5d3 --- /dev/null +++ b/srcpkgs/calligra/patches/poppler-073.patch @@ -0,0 +1,23 @@ +diff --git a/filters/karbon/pdf/SvgOutputDev.cpp b/filters/karbon/pdf/SvgOutputDev.cpp +index f3b74e3..ffdbf01 100644 +--- filters/karbon/pdf/SvgOutputDev.cpp ++++ filters/karbon/pdf/SvgOutputDev.cpp +@@ -488,7 +488,7 @@ void SvgOutputDev::drawImage(GfxState *state, Object */*ref*/, Stream *str, + if (maskColors) { + for (int y = 0; y < height; y++) { + dest = (unsigned int *)(buffer + y * 4 * width); +- Guchar * pix = imgStr->getLine(); ++ unsigned char * pix = imgStr->getLine(); + colorMap->getRGBLine(pix, dest, width); + + for (int x = 0; x < width; x++) { +@@ -507,7 +507,7 @@ void SvgOutputDev::drawImage(GfxState *state, Object */*ref*/, Stream *str, + } else { + for (int y = 0; y < height; y++) { + dest = (unsigned int *)(buffer + y * 4 * width); +- Guchar * pix = imgStr->getLine(); ++ unsigned char * pix = imgStr->getLine(); + colorMap->getRGBLine(pix, dest, width); + } + + diff --git a/srcpkgs/calligra/template b/srcpkgs/calligra/template index 483b4b37db4..2f2e2506781 100644 --- a/srcpkgs/calligra/template +++ b/srcpkgs/calligra/template @@ -1,7 +1,7 @@ # Template file for 'calligra' pkgname=calligra version=3.1.0 -revision=14 +revision=15 build_style=cmake configure_args="-Wno-dev -DCALLIGRA_SHOULD_BUILD_UNMAINTAINED=ON -DBUILD_TESTING=OFF"