ipe: rebuild against libpoppler.so.83

This commit is contained in:
maxice8 2018-12-07 04:54:29 -02:00
parent 676c2ddd7d
commit 9a06a74c77
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 29 additions and 1 deletions

View file

@ -0,0 +1,28 @@
Poppler-0.72 replaced getCString with c_str
diff --git a/ipe-tools/pdftoipe/pdftoipe.cpp b/ipe-tools/pdftoipe/pdftoipe.cpp
index b1b8562..f62cced 100644
--- ipe-tools/pdftoipe/pdftoipe.cpp
+++ ipe-tools/pdftoipe/pdftoipe.cpp
@@ -108,9 +108,9 @@ int main(int argc, char *argv[])
if (argc == 3) {
xmlFileName = new GooString(argv[2]);
} else {
- char *p = fileName->getCString() + fileName->getLength() - 4;
+ char *p = fileName->c_str() + fileName->getLength() - 4;
if (!strcmp(p, ".pdf") || !strcmp(p, ".PDF")) {
- xmlFileName = new GooString(fileName->getCString(),
+ xmlFileName = new GooString(fileName->c_str(),
fileName->getLength() - 4);
} else {
xmlFileName = fileName->copy();
@@ -127,7 +127,7 @@ int main(int argc, char *argv[])
// write XML file
XmlOutputDev *xmlOut =
- new XmlOutputDev(xmlFileName->getCString(), doc->getXRef(),
+ new XmlOutputDev(xmlFileName->c_str(), doc->getXRef(),
doc->getCatalog(), firstPage, lastPage);
// tell output device about text handling

View file

@ -1,7 +1,7 @@
# Template file for 'ipe'
pkgname=ipe
version=7.2.7
revision=13
revision=14
_tools_commit=e5b23399a83d69fd5bb5d4645ef7325b4b57435b
hostmakedepends="pkg-config qt5-qmake qt5-tools qt5-host-tools wget"
makedepends="qt5-devel lua52-devel libjpeg-turbo-devel cairo-devel poppler-devel"