git: 66d062d16722 - main - x11-toolkits/gtksourceview4: Fix build failure

Neel Chauhan nc at FreeBSD.org
Mon Apr 12 19:50:33 UTC 2021


The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=66d062d16722b0263ad170452781eb9b042455ca

commit 66d062d16722b0263ad170452781eb9b042455ca
Author:     Neel Chauhan <nc at FreeBSD.org>
AuthorDate: 2021-04-12 19:50:24 +0000
Commit:     Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-04-12 19:50:24 +0000

    x11-toolkits/gtksourceview4: Fix build failure
    
    PR:     255014
---
 .../files/patch-gtksourceview_meson.build          | 43 ++++++++++++++++++++++
 1 file changed, 43 insertions(+)

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,


More information about the dev-commits-ports-all mailing list