diff options
Diffstat (limited to 'meta/recipes-gnome/gcr/gcr/0001-meson-Make-sure-gcr-oids.h-is-built.patch')
-rw-r--r-- | meta/recipes-gnome/gcr/gcr/0001-meson-Make-sure-gcr-oids.h-is-built.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gcr/gcr/0001-meson-Make-sure-gcr-oids.h-is-built.patch b/meta/recipes-gnome/gcr/gcr/0001-meson-Make-sure-gcr-oids.h-is-built.patch new file mode 100644 index 0000000000..3c8902d05e --- /dev/null +++ b/meta/recipes-gnome/gcr/gcr/0001-meson-Make-sure-gcr-oids.h-is-built.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 9fca6ae0aa7355c27d0922c561b9fbe18dde5b3d Mon Sep 17 00:00:00 2001 | ||
2 | From: Niels De Graef <nielsdegraef@gmail.com> | ||
3 | Date: Fri, 19 Jun 2020 22:37:31 +0200 | ||
4 | Subject: [PATCH 1/1] meson: Make sure gcr-oids.h is built | ||
5 | |||
6 | Fixes https://gitlab.gnome.org/GNOME/gcr/-/issues/48 | ||
7 | --- | ||
8 | gcr/meson.build | 5 ++++- | ||
9 | 1 file changed, 4 insertions(+), 1 deletion(-) | ||
10 | |||
11 | --- end of original header --- | ||
12 | |||
13 | Upstream-Status: backport [https://github.com/GNOME/gcr.git] | ||
14 | |||
15 | Signed-off-by: Joe Slater <joe.slater@windriver.com> | ||
16 | |||
17 | --- | ||
18 | diff --git a/gcr/meson.build b/gcr/meson.build | ||
19 | index 199452f..06c3a63 100644 | ||
20 | --- a/gcr/meson.build | ||
21 | +++ b/gcr/meson.build | ||
22 | @@ -178,7 +178,10 @@ endif | ||
23 | gcr_base_dep = declare_dependency( | ||
24 | link_with: gcr_base_lib, | ||
25 | include_directories: include_directories('..'), | ||
26 | - sources: gcr_enums_gen[1], # Make sure gcr-enum-types-base.h can be included | ||
27 | + sources: [ | ||
28 | + gcr_enums_gen[1], | ||
29 | + gcr_oids[1], | ||
30 | + ], | ||
31 | ) | ||
32 | |||
33 | if get_option('introspection') | ||
34 | -- | ||
35 | 2.7.4 | ||
36 | |||