From 82f011b3210dbd50e1d5bc3e1cc8548d60a67258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 5 Jul 2026 11:53:39 +0700 Subject: [PATCH] scribus: rebuild for poppler-26.07.0 --- srcpkgs/scribus/patches/poppler-26.07.0.patch | 19 +++++++++++++++++++ srcpkgs/scribus/template | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/scribus/patches/poppler-26.07.0.patch diff --git a/srcpkgs/scribus/patches/poppler-26.07.0.patch b/srcpkgs/scribus/patches/poppler-26.07.0.patch new file mode 100644 index 00000000000..c6f9808e0d3 --- /dev/null +++ b/srcpkgs/scribus/patches/poppler-26.07.0.patch @@ -0,0 +1,19 @@ +--- a/scribus/plugins/import/pdf/slaoutput.cpp ++++ b/scribus/plugins/import/pdf/slaoutput.cpp +@@ -914,12 +914,13 @@ bool SlaOutputDev::handleWidgetAnnot(Ann + { + // Load children + QList radList; +- for (int i = 0; i < obj2.arrayGetLength(); i++) ++ const Array* array = obj2.getArray(); ++ for (int i = 0; i < array->getLength(); i++) + { +- const Object& childRef = obj2.arrayGetNF(i); ++ const Object& childRef = array->getNF(i); + if (!childRef.isRef()) + continue; +- Object childObj = obj2.arrayGet(i); ++ Object childObj = array->get(i); + if (!childObj.isDict()) + continue; + const Ref ref = childRef.getRef(); diff --git a/srcpkgs/scribus/template b/srcpkgs/scribus/template index 9c491c6598b..e5b26ff5a30 100644 --- a/srcpkgs/scribus/template +++ b/srcpkgs/scribus/template @@ -1,7 +1,7 @@ # Template file for 'scribus' pkgname=scribus version=1.6.6 -revision=2 +revision=3 build_style=cmake configure_args="-DWANT_DISTROBUILD=ON -DQT_PREFIX=${XBPS_CROSS_BASE}/usr -DWANT_GRAPHICSMAGICK=1 -DWANT_CPP20=ON"