[packages/cogl] - fix for uninitialized value warning (non-PIC only?); release 5
qboosh
qboosh at pld-linux.org
Mon May 25 21:25:20 CEST 2026
commit 8b98b9f577712b1f962adbb246384bf021cdce8e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon May 25 21:25:24 2026 +0200
- fix for uninitialized value warning (non-PIC only?); release 5
cogl-uninitialized.patch | 10 ++++++++++
cogl.spec | 4 +++-
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/cogl.spec b/cogl.spec
index bb392d0..50740b9 100644
--- a/cogl.spec
+++ b/cogl.spec
@@ -15,7 +15,7 @@ Summary: A library for using 3D graphics hardware to draw pretty pictures
Summary(pl.UTF-8): Biblioteka do rysowania ładnych obrazków przy użyciu sprzętowej grafiki 3D
Name: cogl
Version: 1.22.8
-Release: 4
+Release: 5
License: LGPL v2+
Group: Libraries
Source0: https://download.gnome.org/sources/cogl/1.22/%{name}-%{version}.tar.xz
@@ -23,6 +23,7 @@ Source0: https://download.gnome.org/sources/cogl/1.22/%{name}-%{version}.tar.xz
Patch0: %{name}-link.patch
Patch1: %{name}-tesselator-casts.patch
Patch2: %{name}-gst-init-include.patch
+Patch3: %{name}-uninitialized.patch
URL: http://www.clutter-project.org/
BuildRequires: EGL-devel
BuildRequires: Mesa-libEGL-devel
@@ -242,6 +243,7 @@ Dokumentacja API biblioteki cogl-gst.
%patch -P0 -p1
%patch -P1 -p1
%patch -P2 -p1
+%patch -P3 -p1
%build
%{__gettextize}
diff --git a/cogl-uninitialized.patch b/cogl-uninitialized.patch
new file mode 100644
index 0000000..d6f9ef3
--- /dev/null
+++ b/cogl-uninitialized.patch
@@ -0,0 +1,10 @@
+--- cogl-1.22.8/cogl/cogl-pipeline.c.orig 2020-06-04 14:47:52.000000000 +0200
++++ cogl-1.22.8/cogl/cogl-pipeline.c 2026-05-25 21:16:04.040642390 +0200
+@@ -1667,6 +1667,7 @@ _cogl_pipeline_prune_to_n_layers (CoglPi
+ * before we change the number of layers */
+ state.keep_n = n;
+ state.current_pos = 0;
++ state.first_index_to_prune = 0;
+ _cogl_pipeline_foreach_layer_internal (pipeline,
+ update_prune_layers_info_cb,
+ &state);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cogl.git/commitdiff/8b98b9f577712b1f962adbb246384bf021cdce8e
More information about the pld-cvs-commit
mailing list