mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
x11-libs/gtksourceview: Add patch to avoid build race
Closes: https://bugs.gentoo.org/787146 Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
+57
@@ -0,0 +1,57 @@
|
||||
From 9bea9d1c4a56310701717bb106c52a5324ee392a Mon Sep 17 00:00:00 2001
|
||||
From: Christian Hergert <chergert@redhat.com>
|
||||
Date: Sun, 7 Mar 2021 08:54:15 -0800
|
||||
Subject: [PATCH] build: ensure access to resources in corelib build
|
||||
|
||||
This should help with some transient build failures in dependent projects.
|
||||
---
|
||||
gtksourceview/meson.build | 13 +++++++------
|
||||
1 file changed, 7 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/gtksourceview/meson.build b/gtksourceview/meson.build
|
||||
index fd080a9c..b6192604 100644
|
||||
--- a/gtksourceview/meson.build
|
||||
+++ b/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,11 +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
|
||||
@@ -233,7 +234,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,
|
||||
--
|
||||
2.26.3
|
||||
|
||||
@@ -38,6 +38,7 @@ BDEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-build-disable-Werror-for-incompatible-pointer-types.patch
|
||||
"${FILESDIR}"/${PV}-build-ensure-access-to-resources-in-corelib-build.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user