mcst-linux-kernel/patches-2024.06.26/gobject-introspection-1.73.0/0003-multiarch_compat.patch

26 lines
783 B
Diff

From: Michael Vogt <mvo@debian.org>
Date: Sat, 30 Aug 2014 21:40:04 +0000
Subject: Search the pre-multiarch paths too
needed only until all packages are moved to mutliarch paths
Forwarded: not-needed
---
girepository/girepository.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/girepository/girepository.c b/girepository/girepository.c
index 7d03485..149f23c 100644
--- a/girepository/girepository.c
+++ b/girepository/girepository.c
@@ -221,6 +221,9 @@ init_globals (void)
typelib_search_path = g_slist_prepend (typelib_search_path, typelib_dir);
+ // compat with pre-multiarch
+ typelib_search_path = g_slist_prepend (typelib_search_path, "/usr/lib/girepository-1.0");
+
typelib_search_path = g_slist_reverse (typelib_search_path);
}