diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
commit | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch) | |
tree | 25413d1cb3a0cbfe36029db32398c0f333609215 /app-crypt/libsecret/files | |
parent | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff) |
gentoo resync : 14.12.2020
Diffstat (limited to 'app-crypt/libsecret/files')
-rw-r--r-- | app-crypt/libsecret/files/libsecret-0.20.4-meson-build-test-vala-unstable-with-DSECRET_WITH_UNS.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-crypt/libsecret/files/libsecret-0.20.4-meson-build-test-vala-unstable-with-DSECRET_WITH_UNS.patch b/app-crypt/libsecret/files/libsecret-0.20.4-meson-build-test-vala-unstable-with-DSECRET_WITH_UNS.patch new file mode 100644 index 000000000000..99e5f6902e5d --- /dev/null +++ b/app-crypt/libsecret/files/libsecret-0.20.4-meson-build-test-vala-unstable-with-DSECRET_WITH_UNS.patch @@ -0,0 +1,44 @@ +From 92fe125ee1b9f36bd69308c173e9d6147a5fc1e1 Mon Sep 17 00:00:00 2001 +From: Matt Turner <mattst88@gmail.com> +Date: Thu, 10 Dec 2020 23:19:55 -0500 +Subject: [PATCH] meson: build test-vala-unstable with -DSECRET_WITH_UNSTABLE + +Fixes: https://gitlab.gnome.org/GNOME/libsecret/-/issues/54 +--- + libsecret/meson.build | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/libsecret/meson.build b/libsecret/meson.build +index f57e363..55e9d95 100644 +--- a/libsecret/meson.build ++++ b/libsecret/meson.build +@@ -310,12 +310,12 @@ if get_option('introspection') + add_languages('vala') + valac = meson.get_compiler('vala') + +- valatest_names = [ +- 'test-vala-lang', +- 'test-vala-unstable', +- ] ++ valatests = { ++ 'test-vala-lang': [], ++ 'test-vala-unstable': ['-DSECRET_WITH_UNSTABLE'], ++ } + +- foreach _valatest : valatest_names ++ foreach _valatest, extra_cflags : valatests + test_bin = executable(_valatest, + '@0@.vala'.format(_valatest), + dependencies: [ +@@ -327,7 +327,7 @@ if get_option('introspection') + ], + link_with: mock_service_lib, + include_directories: config_h_dir, +- c_args: test_cflags, ++ c_args: test_cflags + extra_cflags, + ) + + test(_valatest, test_bin, +-- +2.26.2 + |