mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Fix build with poppler-25.10.0.
(default) ok by rsadowski@
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
Fix build with poppler-25.10.0.
|
||||
|
||||
Index: filters/karbon/pdf/SvgOutputDev.cpp
|
||||
--- filters/karbon/pdf/SvgOutputDev.cpp.orig
|
||||
+++ filters/karbon/pdf/SvgOutputDev.cpp
|
||||
@@ -390,7 +390,7 @@ void SvgOutputDev::drawString(GfxState *state, const G
|
||||
return;
|
||||
|
||||
// ignore empty strings
|
||||
- if (s->getLength() == 0)
|
||||
+ if (s->size() == 0)
|
||||
return;
|
||||
|
||||
#if POPPLER_VERSION_MACRO < QT_VERSION_CHECK(22, 04, 0)
|
||||
@@ -402,7 +402,7 @@ void SvgOutputDev::drawString(GfxState *state, const G
|
||||
QString str;
|
||||
|
||||
const char *p = s->c_str();
|
||||
- int len = s->getLength();
|
||||
+ int len = s->size();
|
||||
CharCode code;
|
||||
const Unicode *u = nullptr;
|
||||
int uLen;
|
||||
Reference in New Issue
Block a user