Accepting request 1044272 from GNOME:Next

New upstream release, with shiny and sparkly new patch included

OBS-URL: https://build.opensuse.org/request/show/1044272
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=501
This commit is contained in:
Bjørn Lie 2022-12-22 20:58:05 +00:00 committed by Git OBS Bridge
parent 36bafaff06
commit 1039ca84ec
5 changed files with 54 additions and 4 deletions

29
1539540.patch Normal file
View File

@ -0,0 +1,29 @@
From 6626765a79f125cf0ec9cdaefa51ceef718d41e7 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@redhat.com>
Date: Tue, 20 Dec 2022 17:10:41 -0600
Subject: [PATCH] gthread-posix: need to #include <errno.h>
a79c6af23eff5ee978db62e048828c9a992a1261 uses errno without the required
header.
(cherry picked from commit 03cb4261e00cf505790f4fd4e69f97b2ef4fcccd)
---
glib/gthreadprivate.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/glib/gthreadprivate.h b/glib/gthreadprivate.h
index 6eaf422753..f34368a7c2 100644
--- a/glib/gthreadprivate.h
+++ b/glib/gthreadprivate.h
@@ -41,6 +41,7 @@ struct _GRealThread
/* system thread implementation (gthread-posix.c, gthread-win32.c) */
#if defined(HAVE_FUTEX) || defined(HAVE_FUTEX_TIME64)
+#include <errno.h>
#include <linux/futex.h>
#include <sys/syscall.h>
#include <unistd.h>
--
GitLab

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9bc41ecd9690d9bc6a970cc7380119b828e5b6a4b16c393c638b3dc2b87cbcb
size 5181732

3
glib-2.74.4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e82da5ea129b4444227c7e4a9e598f7288d1994bf63f129c44b90cfd2432172
size 5208484

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Dec 22 13:01:42 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.74.4:
+ Fix missing input validation in `GDBusMenuModel`.
+ Various GVariant security fixes when handling untrusted data.
+ Bugs fixed: glgo#GNOME/GLib#861, glgo#GNOME/GLib#2121,
glgo#GNOME/GLib#2540, glgo#GNOME/GLib#2794,
glgo#GNOME/GLib#2797, glgo#GNOME/GLib#2835,
glgo#GNOME/GLib#2839, glgo#GNOME/GLib#2840,
glgo#GNOME/GLib#2841, glgo#GNOME/GLib#2852,
glgo#GNOME/GLib!3114, glgo#GNOME/GLib!3126,
glgo#GNOME/GLib!3134, glgo#GNOME/GLib!3138,
glgo#GNOME/GLib!3153, glgo#GNOME/GLib!3161,
glgo#GNOME/GLib!3164.
+ Updated translations.
- Add 1539540.patch: gthread-posix: need to #include <errno.h>.
-------------------------------------------------------------------
Fri Dec 2 21:18:15 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -30,7 +30,7 @@
%define libgthread libgthread-%{libver}
%bcond_without systemtap
Name: glib2%{psuffix}
Version: 2.74.3
Version: 2.74.4
Release: 0
Summary: General-Purpose Utility Library
License: LGPL-2.1-or-later
@ -58,6 +58,8 @@ Patch2: glib2-suppress-schema-deprecated-path-warning.patch
Patch3: glib2-dbus-socket-path.patch
# PATCH-FIX-OPENSUSE glib2-gdbus-codegen-version.patch olaf@aepfle.de -- Remove version string from files generated by gdbus-codegen
Patch4: glib2-gdbus-codegen-version.patch
# PATCH-FIX-UPSTREAM 1539540.patch -- gthread-posix: need to #include <errno.h>
Patch5: https://gitlab.gnome.org/GNOME/glib/-/commit/1539540.patch
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes
@ -261,6 +263,7 @@ the functionality of the installed glib2 package.
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
cp -a %{SOURCE1} %{SOURCE2} %{SOURCE5} .
cp -a %{SOURCE4} gnome_defaults.conf
# replace /usr/bin/env shebangs