1 |
commit: 7f330da7d87d963fe68d78b858dbe0be8a2fc252 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 11 19:30:21 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 11 19:30:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f330da7 |
7 |
|
8 |
profiles/package.mask: adjust Wireshark mask message |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-cpp/nlohmann_json/nlohmann_json-3.9.1.ebuild | 10 ++++++++-- |
13 |
profiles/package.mask | 7 +++---- |
14 |
2 files changed, 11 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/dev-cpp/nlohmann_json/nlohmann_json-3.9.1.ebuild b/dev-cpp/nlohmann_json/nlohmann_json-3.9.1.ebuild |
17 |
index 8c50916e83e..691afb13f9c 100644 |
18 |
--- a/dev-cpp/nlohmann_json/nlohmann_json-3.9.1.ebuild |
19 |
+++ b/dev-cpp/nlohmann_json/nlohmann_json-3.9.1.ebuild |
20 |
@@ -26,11 +26,17 @@ DOCS=( ChangeLog.md README.md ) |
21 |
|
22 |
src_configure() { |
23 |
local mycmakeargs=( |
24 |
- -DJSON_BuildTests=$(usex test) |
25 |
- -DJSON_TestDataDirectory="${S}/json_test_data" |
26 |
-DJSON_MultipleHeaders=ON |
27 |
) |
28 |
|
29 |
+ if use test ; then |
30 |
+ # Define test data directory here to avoid unused var QA warning |
31 |
+ # #747826 |
32 |
+ mycmakeargs+=( |
33 |
+ -DJSON_BuildTests=ON |
34 |
+ -DJSON_TestDataDirectory="${S}/json_test_data" |
35 |
+ ) |
36 |
+ fi |
37 |
cmake_src_configure |
38 |
} |
39 |
|
40 |
|
41 |
diff --git a/profiles/package.mask b/profiles/package.mask |
42 |
index 22c355f3398..f59706fab2d 100644 |
43 |
--- a/profiles/package.mask |
44 |
+++ b/profiles/package.mask |
45 |
@@ -43,10 +43,9 @@ net-fs/openafs-kernel |
46 |
|
47 |
# Sam James <sam@g.o> (2020-10-11) |
48 |
# Current Wireshark in ~arch is vulnerable. |
49 |
-# Maintainer did not want to update after QA |
50 |
-# intervention. |
51 |
-# Please use stable Wireshark for now. |
52 |
-# 744592 |
53 |
+# This forces a downgrade to the stable, fixed |
54 |
+# Wireshark. |
55 |
+# bug #744592 |
56 |
=net-analyzer/wireshark-3.3.0 |
57 |
|
58 |
# Sergei Trofimovich <slyfox@g.o> (2020-10-11) |