diff --git a/subprojects/gobject-introspection.wrap b/subprojects/gobject-introspection.wrap index 96c0f0aa0d..bd46dd5989 100644 --- a/subprojects/gobject-introspection.wrap +++ b/subprojects/gobject-introspection.wrap @@ -5,7 +5,7 @@ source_fallback_url = https://ftp.acc.umu.se/pub/gnome/sources/gobject-introspec source_filename = gobject-introspection-1.74.0.tar.xz source_hash = 347b3a719e68ba4c69ff2d57ee2689233ea8c07fc492205e573386779e42d653 wrapdb_version = 1.74.0-0 -diff_files = gobject-introspection-1.74.0/0001-Fix-gir-build-when-using-subprojects-dependencies.patch, gobject-introspection-1.74.0/0001-gir-stop-assuming-glib-source-and-build-dirs-using-v.patch +diff_files = gobject-introspection-1.74.0/0001-Fix-gir-build-when-using-subprojects-dependencies.patch, gobject-introspection-1.74.0/0001-gir-stop-assuming-glib-source-and-build-dirs-using-v.patch, gobject-introspection-1.74.0/0001-build-Work-around-an-undocumented-GLib-variable-rena.patch [provide] dependency_names = gobject-introspection-1.0 diff --git a/subprojects/packagefiles/gobject-introspection-1.74.0/0001-build-Work-around-an-undocumented-GLib-variable-rena.patch b/subprojects/packagefiles/gobject-introspection-1.74.0/0001-build-Work-around-an-undocumented-GLib-variable-rena.patch new file mode 100644 index 0000000000..b3d50291bf --- /dev/null +++ b/subprojects/packagefiles/gobject-introspection-1.74.0/0001-build-Work-around-an-undocumented-GLib-variable-rena.patch @@ -0,0 +1,28 @@ +From 3163d96f47a62a20a343eb7af9d3c2931563a63d Mon Sep 17 00:00:00 2001 +From: "L. E. Segovia" +Date: Sat, 24 Feb 2024 14:14:19 -0300 +Subject: [PATCH] build: Work around an undocumented GLib variable renaming + +See: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3892 +--- + gir/meson.build | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/gir/meson.build b/gir/meson.build +index b732d24d..3a016831 100644 +--- a/gir/meson.build ++++ b/gir/meson.build +@@ -155,7 +155,9 @@ elif dep_type == 'internal' + + if giounix_dep.found() + glib_files += [ +- glib_subproject.get_variable('glib_unix_h') ++ # Variable was renamed in 2.79.2 ++ # https://gitlab.gnome.org/GNOME/glib/-/commit/1f9e44d6232c3e96caa8a96d9b1cc2c65cf5848c ++ glib_subproject.get_variable('glib_unix_headers') + ] + endif + +-- +2.47.1 +