[packages/qt5-qtlocation] up to 5.15.19

atler atler at pld-linux.org
Tue May 19 18:11:47 CEST 2026


commit 6e76a01c13067f3b14714abdcbcf6443d7cf2f4f
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue May 19 18:02:39 2026 +0200

    up to 5.15.19
    
    patch to fix compilation with glib2 >= 2.78 built againtst glibc >= 2.43.
    glibc 2.43 added support for free_sized() which glib2 >= 2.78 makes use
    of if detected at build time. however g_free() becomes a macro then
    causing build failure in qt:
    
    error: expected id-expression before '(' token

 glib2.78-glibc2.43.patch | 11 +++++++++++
 qt5-qtlocation.spec      | 10 ++++++----
 2 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/qt5-qtlocation.spec b/qt5-qtlocation.spec
index 8aaba67..0e9a51b 100644
--- a/qt5-qtlocation.spec
+++ b/qt5-qtlocation.spec
@@ -21,16 +21,17 @@
 Summary:	The Qt5 Location library
 Summary(pl.UTF-8):	Biblioteka Qt5 Location
 Name:		qt5-%{orgname}
-Version:	5.15.18
-Release:	2
+Version:	5.15.19
+Release:	1
 License:	LGPL v3 or GPL v2+ or commercial
 Group:		Libraries
 Source0:	https://download.qt.io/archive/qt/5.15/%{version}/submodules/%{orgname}-everywhere-opensource-src-%{version}.tar.xz
-# Source0-md5:	f7b1fac79e4bdb3b50e0a39f0ae63037
+# Source0-md5:	8d521827a8de72378ff31671d00fac6d
 Source1:	https://download.qt.io/archive/qt/5.15/%{version}/submodules/qttranslations-everywhere-opensource-src-%{version}.tar.xz
-# Source1-md5:	7e72177d16e791c0cd428b0bb438fa9a
+# Source1-md5:	6ce1f29a897c43bf023f58162c089b84
 Patch0:		gcc13.patch
 Patch1:		system-rapidjson.patch
+Patch2:		glib2.78-glibc2.43.patch
 URL:		https://www.qt.io/
 %{?with_gypsy:BuildRequires:	GConf2-devel >= 2.0}
 BuildRequires:	Qt5Concurrent-devel >= %{qtbase_ver}
@@ -192,6 +193,7 @@ Przykłady do bibliotek Qt5 Location i Positioning.
 %setup -q -n %{orgname}-everywhere-src-%{version} %{?with_qm:-a1}
 %patch -P0 -p1
 %patch -P1 -p1
+%patch -P2 -p2
 
 %build
 %{qmake_qt5} -- \
diff --git a/glib2.78-glibc2.43.patch b/glib2.78-glibc2.43.patch
new file mode 100644
index 0000000..2011453
--- /dev/null
+++ b/glib2.78-glibc2.43.patch
@@ -0,0 +1,11 @@
+--- qt-everywhere-src-6.10.3/qtpositioning/src/plugins/position/gypsy/qgeosatelliteinfosource_gypsy.cpp.orig	2026-03-30 13:38:37.000000000 +0200
++++ qt-everywhere-src-6.10.3/qtpositioning/src/plugins/position/gypsy/qgeosatelliteinfosource_gypsy.cpp	2026-04-02 12:48:44.437888803 +0200
+@@ -53,7 +53,7 @@
+ 
+ void SatelliteGypsyEngine::eng_g_free(gpointer mem)
+ {
+-    return ::g_free(mem);
++    return g_free(mem);
+ }
+ // Gypsy symbols
+ GypsyControl *SatelliteGypsyEngine::eng_gypsy_control_get_default (void)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtlocation.git/commitdiff/6e76a01c13067f3b14714abdcbcf6443d7cf2f4f



More information about the pld-cvs-commit mailing list