summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-09-17 11:38:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-18 08:53:10 +0100
commitd8ad963a2280d7e6995734ddcb620bd10af70b34 (patch)
treefe4922d5d7be399890d5f18e94c30c0749a66934 /meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
parenta990c6ce157e897cde950de2e7c161e2bc9ec9a8 (diff)
downloadpoky-d8ad963a2280d7e6995734ddcb620bd10af70b34.tar.gz
glib-2.0: update 2.76.4 -> 2.78.0
Add a patch so that native glib executables do not error out on systems with kernels less than 5.4. (From OE-Core rev: 404d9187f2be1f99be740e10b3d4cc23e482027d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch')
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch b/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
index 3dba599fc0..841fedef8a 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
+++ b/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
@@ -1,4 +1,4 @@
1From 38e401969a2ff8269919cbeacec733a67f041735 Mon Sep 17 00:00:00 2001 1From b90d13900dd2777c2ab90c5b0be1a872c10a17da Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com> 2From: Ross Burton <ross.burton@intel.com>
3Date: Fri, 11 Mar 2016 15:35:55 +0000 3Date: Fri, 11 Mar 2016 15:35:55 +0000
4Subject: [PATCH] glib-2.0: relocate the GIO module directory for native builds 4Subject: [PATCH] glib-2.0: relocate the GIO module directory for native builds
@@ -13,25 +13,28 @@ Signed-off-by: Ross Burton <ross.burton@intel.com>
13 13
14Port patch to 2.48 14Port patch to 2.48
15Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> 15Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
16
16--- 17---
17 gio/giomodule.c | 5 ----- 18 gio/giomodule.c | 7 -------
18 1 file changed, 5 deletions(-) 19 1 file changed, 7 deletions(-)
19 20
20diff --git a/gio/giomodule.c b/gio/giomodule.c 21diff --git a/gio/giomodule.c b/gio/giomodule.c
21index 11ce7d8..cc27ecd 100644 22index 17fabe6..8021208 100644
22--- a/gio/giomodule.c 23--- a/gio/giomodule.c
23+++ b/gio/giomodule.c 24+++ b/gio/giomodule.c
24@@ -1271,9 +1271,6 @@ get_gio_module_dir (void) 25@@ -1271,11 +1271,6 @@ get_gio_module_dir (void)
25 g_free (install_dir); 26 g_free (install_dir);
26 #else 27 #else
27 module_dir = g_strdup (GIO_MODULE_DIR); 28 module_dir = g_strdup (GIO_MODULE_DIR);
28-#ifdef __APPLE__ 29-#ifdef __APPLE__
29-#include "TargetConditionals.h" 30-#include "TargetConditionals.h"
30-#if TARGET_OS_OSX 31-/* Only auto-relocate on macOS, not watchOS etc; older macOS SDKs only define TARGET_OS_MAC */
32-#if (defined (TARGET_OS_OSX) && TARGET_OS_OSX) || \
33- (!defined (TARGET_OS_OSX) && defined (TARGET_OS_MAC) && TARGET_OS_MAC)
31 #include <dlfcn.h> 34 #include <dlfcn.h>
32 { 35 {
33 g_autofree gchar *path = NULL; 36 g_autofree gchar *path = NULL;
34@@ -1292,8 +1289,6 @@ get_gio_module_dir (void) 37@@ -1294,8 +1289,6 @@ get_gio_module_dir (void)
35 } 38 }
36 } 39 }
37 } 40 }
@@ -40,6 +43,3 @@ index 11ce7d8..cc27ecd 100644
40 #endif 43 #endif
41 } 44 }
42 45
43--
442.30.2
45