commit: 2c3aa63091a23a54be4ec6e23de1e401adbb1dee Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Tue Jun 10 17:15:00 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Jun 10 17:16:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c3aa630
x11-themes/oxygen-gtk: Fix -Wuninitialized warning Bug: https://bugs.gentoo.org/957749 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../files/oxygen-gtk-1.4.1-fix-uninitialised.patch | 35 ++++++++++++++++++++++ x11-themes/oxygen-gtk/oxygen-gtk-1.4.1-r2.ebuild | 1 + x11-themes/oxygen-gtk/oxygen-gtk-1.4.6-r1.ebuild | 5 +++- 3 files changed, 40 insertions(+), 1 deletion(-) diff --git a/x11-themes/oxygen-gtk/files/oxygen-gtk-1.4.1-fix-uninitialised.patch b/x11-themes/oxygen-gtk/files/oxygen-gtk-1.4.1-fix-uninitialised.patch new file mode 100644 index 000000000000..0a208334f600 --- /dev/null +++ b/x11-themes/oxygen-gtk/files/oxygen-gtk-1.4.1-fix-uninitialised.patch @@ -0,0 +1,35 @@ +Pending MR: https://invent.kde.org/plasma/oxygen-gtk/-/merge_requests/2 + +From e5950db70e3d075e7a4ef86f766f51d0c06aabcc Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <[email protected]> +Date: Tue, 10 Jun 2025 19:05:48 +0200 +Subject: [PATCH] Fix -Wuninitialized warning + +Variable unused since commit 6bef60b327b1e594c63f7611dcaabff44d70eb51 + +* QA Notice: Package triggers severe warnings which indicate that it +* may exhibit random runtime failures. +* src/animations/oxygencomboboxdata.h:34:11: warning: <unnamed>.Oxygen::ComboBoxData::_cellLayoutInitialized is used uninitialized [-Wuninitialized] + +Signed-off-by: Andreas Sturmlechner <[email protected]> +--- + src/animations/oxygencomboboxdata.h | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/src/animations/oxygencomboboxdata.h b/src/animations/oxygencomboboxdata.h +index ca4f8323..96d5398b 100644 +--- a/src/animations/oxygencomboboxdata.h ++++ b/src/animations/oxygencomboboxdata.h +@@ -242,9 +242,6 @@ namespace Oxygen + typedef std::map<GtkWidget*, HoverData> HoverDataMap; + HoverDataMap _hoverData; + +- //! true if cell layout has been initialized +- bool _cellLayoutInitialized; +- + //! cell data + ChildData _cell; + +-- +2.49.0 + diff --git a/x11-themes/oxygen-gtk/oxygen-gtk-1.4.1-r2.ebuild b/x11-themes/oxygen-gtk/oxygen-gtk-1.4.1-r2.ebuild index c9fd657fe9b3..278c8bd39ba8 100644 --- a/x11-themes/oxygen-gtk/oxygen-gtk-1.4.1-r2.ebuild +++ b/x11-themes/oxygen-gtk/oxygen-gtk-1.4.1-r2.ebuild @@ -37,6 +37,7 @@ PATCHES=( "${WORKDIR}/${PATCHSET}/1.4.6/0005-demo-optional.patch" "${WORKDIR}/${PATCHSET}/1.4.6/0006-tabstyle.patch" "${WORKDIR}/${PATCHSET}/1.4.6/0007-cmake4.patch" # bug 955107 + "${FILESDIR}/${P}-fix-uninitialised.patch" # bug 957749, pending MR ) multilib_src_configure() { diff --git a/x11-themes/oxygen-gtk/oxygen-gtk-1.4.6-r1.ebuild b/x11-themes/oxygen-gtk/oxygen-gtk-1.4.6-r1.ebuild index e79833da9209..67ba12eca5b5 100644 --- a/x11-themes/oxygen-gtk/oxygen-gtk-1.4.6-r1.ebuild +++ b/x11-themes/oxygen-gtk/oxygen-gtk-1.4.6-r1.ebuild @@ -32,7 +32,10 @@ RDEPEND="${DEPEND} " BDEPEND="virtual/pkgconfig" -PATCHES=( "${WORKDIR}/${PATCHSET}/${PV}" ) # bug 955107 +PATCHES=( + "${WORKDIR}/${PATCHSET}/${PV}" # bug 955107 + "${FILESDIR}/${PN}-1.4.1-fix-uninitialised.patch" # bug 957749, pending MR +) multilib_src_configure() { if ! multilib_is_native_abi; then
