public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glib2] cve-2026-58016-f44: Update to 2.87.3
@ 2026-08-11 10:38 Jan Grulich
0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-08-11 10:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/glib2
Branch : cve-2026-58016-f44
Commit : d3175793ec0d503777c9c546c39323965ade9ad3
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2026-02-27T12:26:06+01:00
Stats : +23/-40 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/glib2/c/d3175793ec0d503777c9c546c39323965ade9ad3?branch=cve-2026-58016-f44
Log:
Update to 2.87.3
---
diff --git a/glib-do-not-install-localtime-test.patch b/glib-do-not-install-localtime-test.patch
new file mode 100644
index 0000000..8dbc94d
--- /dev/null
+++ b/glib-do-not-install-localtime-test.patch
@@ -0,0 +1,16 @@
+diff --git a/glib/tests/meson.build b/glib/tests/meson.build
+index 0757da4..0ffe59f 100644
+--- a/glib/tests/meson.build
++++ b/glib/tests/meson.build
+@@ -326,11 +326,6 @@ if installed_tests_enabled
+ install_dir : installed_tests_execdir,
+ install_tag : 'tests',
+ )
+- install_subdir('localtime',
+- install_dir : installed_tests_execdir,
+- install_tag : 'tests',
+- follow_symlinks : false,
+- )
+ endif
+
+ test_extra_programs = {
diff --git a/glib2-girepository-fixup-ffi-test-for-big-endian-systems.patch b/glib2-girepository-fixup-ffi-test-for-big-endian-systems.patch
deleted file mode 100644
index 02bcb36..0000000
--- a/glib2-girepository-fixup-ffi-test-for-big-endian-systems.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From de5108bc646f9a29c2eb58059be0062becd784ad Mon Sep 17 00:00:00 2001
-From: Alessandro Astone <alessandro.astone@canonical.com>
-Date: Wed, 21 Jan 2026 15:19:51 +0100
-Subject: [PATCH] girepository: Fixup ffi test for big-endian systems
-
-The input arguments are of pointer type, so we need to read the full 8 bytes
-and pass them into GPOINTER_TO_INT.
-
-The return argument is an integer which follows the ffi promotion behaviour,
-so it also gets 8 bytes of allocation.
-
-Closes: https://gitlab.gnome.org/GNOME/glib/-/issues/3865
----
- girepository/tests/callable-info.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/girepository/tests/callable-info.c b/girepository/tests/callable-info.c
-index 3821cf16cb..a9fa194cd7 100644
---- a/girepository/tests/callable-info.c
-+++ b/girepository/tests/callable-info.c
-@@ -220,10 +220,10 @@ compare_func_callback (ffi_cif *passed_cif,
- void **args,
- void *user_data)
- {
-- int *return_location = ret;
-+ ffi_sarg *return_location = ret;
- unsigned *call_count = user_data;
-- int arg1 = GPOINTER_TO_INT (*(int *) args[0]);
-- int arg2 = GPOINTER_TO_INT (*(int *) args[1]);
-+ int arg1 = GPOINTER_TO_INT (*(void **) args[0]);
-+ int arg2 = GPOINTER_TO_INT (*(void **) args[1]);
-
- /* cif is not needed in this simple test, but check that it is what the
- * documentation says it is */
---
-GitLab
-
diff --git a/glib2.spec b/glib2.spec
index 121c763..c8fbd28 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -1,5 +1,5 @@
Name: glib2
-Version: 2.87.2
+Version: 2.87.3
Release: %autorelease
Summary: A library of handy utility functions
@@ -15,7 +15,11 @@ Patch: gnutls-hmac.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=2192204
Patch: default-terminal.patch
-Patch: glib2-girepository-fixup-ffi-test-for-big-endian-systems.patch
+# Drop test introduced in:
+# https://gitlab.gnome.org/GNOME/glib/-/commit/867ea9c10
+# This will be (hopefully) changed in the following glib releases
+# where the symlinks for the tests will be created at runtime.
+Patch: glib-do-not-install-localtime-test.patch
BuildRequires: gcc
BuildRequires: gcc-c++
diff --git a/sources b/sources
index e2e8cdb..283d353 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (glib-2.87.2.tar.xz) = 6156cdf2cf88672ba23c0ffb133af0dedd65b18df318ba3a99a691678c514af8a30680082ffc86f15c25050f49668382ea81aef9642cb28a4227a3e35aacbde8
+SHA512 (glib-2.87.3.tar.xz) = dce4e87e28fe3a9ab07c649ab59af7e7e0fed1bd310431ad50594f9357e8cbff9caee1a54d3c59734576df1884783cd33c4f51432517a6a2f0c6a41404ca6e56
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-11 10:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 10:38 [rpms/glib2] cve-2026-58016-f44: Update to 2.87.3 Jan Grulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox