Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libyui for openSUSE:Factory checked in at 2025-06-18 15:53:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui (Old) and /work/SRC/openSUSE:Factory/.libyui.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui" Wed Jun 18 15:53:33 2025 rev:96 rq:1286022 version:4.7.3 Changes: -------- --- /work/SRC/openSUSE:Factory/libyui/libyui.changes 2025-05-31 19:14:28.636833070 +0200 +++ /work/SRC/openSUSE:Factory/.libyui.new.19631/libyui.changes 2025-06-18 15:53:38.477975857 +0200 @@ -1,0 +2,7 @@ +Mon Jun 9 14:27:14 UTC 2025 - Thomas Renninger <tr...@suse.de> + +- graphviz API broke in a recent version update (bezier size is now + of type size_t instead of int). +A graphviz_unsigned_fix.patch + +------------------------------------------------------------------- New: ---- graphviz_unsigned_fix.patch ----------(New B)---------- New: of type size_t instead of int). A graphviz_unsigned_fix.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ libyui-ncurses-pkg.spec: same change libyui-ncurses-rest-api.spec: same change libyui-ncurses.spec: same change ++++++ libyui-qt-graph.spec ++++++ --- /var/tmp/diff_new_pack.nyOd5e/_old 2025-06-18 15:53:39.242007716 +0200 +++ /var/tmp/diff_new_pack.nyOd5e/_new 2025-06-18 15:53:39.242007716 +0200 @@ -44,6 +44,9 @@ License: LGPL-2.1-only OR LGPL-3.0-only URL: http://github.com/libyui/ Source: libyui-%{version}.tar.bz2 +%if %{pkg_vcmp graphviz > 10.0.0} +Patch0: graphviz_unsigned_fix.patch +%endif %description This package contains the Qt graph component for libyui. @@ -82,6 +85,7 @@ %prep %setup -q -n libyui-%{version} +%autopatch -p1 %build export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" libyui-qt-rest-api.spec: same change libyui-qt.spec: same change libyui-rest-api.spec: same change libyui.spec: same change ++++++ graphviz_unsigned_fix.patch ++++++ Fix bezier size change in graphviz In graphviz this commit was applied in 10.0.1 git describe --contains ebc8c1a25c4aa4385 API BREAK: make 'bezier.size' a 'size_t' This commit fixes the breakage. --- libyui-qt-graph/src/QY2Graph.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/libyui-qt-graph/src/QY2Graph.cc +++ b/libyui-qt-graph/src/QY2Graph.cc @@ -188,7 +188,7 @@ { QPainterPath path; path.moveTo(gToQ(bezier.list[0])); - for (int i = 1; i < bezier.size - 1; i += 3) + for (size_t i = 1; i < bezier.size - 1; i += 3) path.cubicTo(gToQ(bezier.list[i]), gToQ(bezier.list[i+1]), gToQ(bezier.list[i+2])); return path; } @@ -273,7 +273,7 @@ if (poly->peripheries != 1) { - qWarning("unsupported number of peripheries %d", poly->peripheries); + qWarning("unsupported number of peripheries %zu", poly->peripheries); } const int sides = poly->sides; @@ -406,7 +406,7 @@ if (spl == NULL) continue; - for (int i = 0; i < spl->size; ++i) + for (size_t i = 0; i < spl->size; ++i) { const bezier& bz = spl->list[i];