[packages/glib2] up to 2.74.4

atler atler at pld-linux.org
Wed Dec 21 23:41:16 CET 2022


commit ecece9d03d63cad090a3f85c33ad748c3f2cf7e5
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Dec 21 23:38:56 2022 +0100

    up to 2.74.4
    
    - upstream fix for missing errno.h inclusion

 errno.patch | 26 ++++++++++++++++++++++++++
 glib2.spec  |  6 ++++--
 2 files changed, 30 insertions(+), 2 deletions(-)
---
diff --git a/glib2.spec b/glib2.spec
index ae5ab8c..c88067a 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -20,15 +20,16 @@ Summary(pt_BR.UTF-8):	Conjunto de funções gráficas utilitárias
 Summary(tr.UTF-8):	Yararlı ufak yordamlar kitaplığı
 Summary(zh_CN.UTF-8):	实用工具函数库
 Name:		glib2
-Version:	2.74.3
+Version:	2.74.4
 Release:	1
 Epoch:		1
 License:	LGPL v2+
 Group:		Libraries
 Source0:	https://download.gnome.org/sources/glib/2.74/glib-%{version}.tar.xz
-# Source0-md5:	fb204b89b0004110911dede3441597a1
+# Source0-md5:	a854964bbf295dcfa98afd210d7fbc39
 Patch0:		%{name}-python_shebang.patch
 Patch1:		gtk-doc-build.patch
+Patch2:		errno.patch
 URL:		https://www.gtk.org/
 BuildRequires:	docbook-dtd412-xml
 BuildRequires:	docbook-dtd45-xml
@@ -238,6 +239,7 @@ Sondy systemtap/dtrace dla GLib 2.
 %setup -q -n glib-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %meson build \
diff --git a/errno.patch b/errno.patch
new file mode 100644
index 0000000..aa62cdc
--- /dev/null
+++ b/errno.patch
@@ -0,0 +1,26 @@
+From 03cb4261e00cf505790f4fd4e69f97b2ef4fcccd Mon Sep 17 00:00:00 2001
+From: Michael Catanzaro <mcatanzaro at 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.
+---
+ 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
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glib2.git/commitdiff/ecece9d03d63cad090a3f85c33ad748c3f2cf7e5



More information about the pld-cvs-commit mailing list