calligra: rebuild against libpoppler.so.84
This commit is contained in:
parent
1936809a75
commit
14cc69703d
2 changed files with 24 additions and 1 deletions
23
srcpkgs/calligra/patches/poppler-073.patch
Normal file
23
srcpkgs/calligra/patches/poppler-073.patch
Normal file
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue