mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
ipe: rebuild for poppler-22.12.0
This commit is contained in:
parent
f700090e52
commit
1f33f70287
2 changed files with 27 additions and 1 deletions
26
srcpkgs/ipe/patches/poppler-22.09.0-fix.patch
Normal file
26
srcpkgs/ipe/patches/poppler-22.09.0-fix.patch
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
Taken from https://github.com/otfried/ipe-tools/pull/55/commits/65586fcd9cc39e482ae5a9abdb6f4932d9bb88c4
|
||||||
|
|
||||||
|
diff --git a/pdftoipe/xmloutputdev.cpp b/pdftoipe/xmloutputdev.cpp
|
||||||
|
index 291eb5f..17bac2a 100644
|
||||||
|
--- a/ipe-tools/pdftoipe/xmloutputdev.cpp
|
||||||
|
+++ b/ipe-tools/pdftoipe/xmloutputdev.cpp
|
||||||
|
@@ -149,15 +149,15 @@ void XmlOutputDev::stroke(GfxState *state)
|
||||||
|
writeColor("<path stroke=", rgb, 0);
|
||||||
|
writePSFmt(" pen=\"%g\"", state->getTransformedLineWidth());
|
||||||
|
|
||||||
|
- double *dash;
|
||||||
|
double start;
|
||||||
|
- int length, i;
|
||||||
|
+ std::vector<double> dash = state->getLineDash(&start);
|
||||||
|
+ int length = dash.size();
|
||||||
|
+ int i;
|
||||||
|
|
||||||
|
- state->getLineDash(&dash, &length, &start);
|
||||||
|
if (length) {
|
||||||
|
writePS(" dash=\"[");
|
||||||
|
for (i = 0; i < length; ++i)
|
||||||
|
- writePSFmt("%g%s", state->transformWidth(dash[i]),
|
||||||
|
+ writePSFmt("%g%s", state->transformWidth(dash.at(i)),
|
||||||
|
(i == length-1) ? "" : " ");
|
||||||
|
writePSFmt("] %g\"", state->transformWidth(start));
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ipe'
|
# Template file for 'ipe'
|
||||||
pkgname=ipe
|
pkgname=ipe
|
||||||
version=7.2.26
|
version=7.2.26
|
||||||
revision=7
|
revision=8
|
||||||
_tools_commit=v7.2.24.1
|
_tools_commit=v7.2.24.1
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
hostmakedepends="pkg-config doxygen qt5-qmake qt5-tools qt5-host-tools"
|
hostmakedepends="pkg-config doxygen qt5-qmake qt5-tools qt5-host-tools"
|
||||||
|
|
Loading…
Add table
Reference in a new issue