From 66d062d16722b0263ad170452781eb9b042455ca Mon Sep 17 00:00:00 2001 From: Neel Chauhan Date: Mon, 12 Apr 2021 12:50:24 -0700 Subject: x11-toolkits/gtksourceview4: Fix build failure PR: 255014 --- .../files/patch-gtksourceview_meson.build | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 x11-toolkits/gtksourceview4/files/patch-gtksourceview_meson.build diff --git a/x11-toolkits/gtksourceview4/files/patch-gtksourceview_meson.build b/x11-toolkits/gtksourceview4/files/patch-gtksourceview_meson.build new file mode 100644 index 000000000000..f855ebae88d2 --- /dev/null +++ b/x11-toolkits/gtksourceview4/files/patch-gtksourceview_meson.build @@ -0,0 +1,43 @@ +--- gtksourceview/meson.build.orig 2021-04-12 19:46:19 UTC ++++ gtksourceview/meson.build +@@ -172,12 +172,18 @@ gtksourceversion_h = configure_file( + install_dir: join_paths(pkgincludedir, 'gtksourceview'), + ) + ++gtksource_res = gnome.compile_resources( ++ 'gtksourceview-gresources', ++ 'gtksourceview.gresource.xml' ++) ++ + core_sources = [ + core_public_c, + core_private_c, + core_enums, + gtksourceversion_h, + core_marshallers, ++ gtksource_res, + ] + + install_headers( +@@ -216,12 +222,6 @@ extra_public_sources = [] + + subdir('completion-providers') + +-gtksource_res = gnome.compile_resources( +- 'gtksourceview-gresources', +- 'gtksourceview.gresource.xml' +-) +- +- + # We can't use the static libs on Visual Studio builds + # to form our DLL here directly, so we must use + # extract_all_objects() to extract all the core and word +@@ -233,7 +233,7 @@ foreach int_lib : gtksource_libs + gtksource_objs += int_lib.extract_all_objects() + endforeach + +-gtksource_lib = shared_library(package_string, gtksource_res, ++gtksource_lib = shared_library(package_string, + version: lib_version, + darwin_versions: lib_osx_version, + include_directories: gtksourceview_include_dirs, -- cgit v1.2.3