From 32c0b155790ab7e228d889f66a25aef3f33fb702 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Wed, 16 Dec 2020 09:00:41 -0500 Subject: app-crypt/libsecret: sync --- ...-test-vala-unstable-with-DSECRET_WITH_UNS.patch | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 app-crypt/libsecret/files/libsecret-0.20.4-meson-build-test-vala-unstable-with-DSECRET_WITH_UNS.patch (limited to 'app-crypt/libsecret/files') 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 0000000..99e5f69 --- /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 +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 + -- cgit v1.2.3-70-g09d2