summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Haase <Moritz.Haase@bmw.de>2025-07-11 12:00:25 +0200
committerKhem Raj <raj.khem@gmail.com>2025-07-11 08:35:05 -0700
commit111baaaa22edead203ea2a06be8e1bd31b3d6090 (patch)
tree4aa8b3a4f614d70d71e03809c893e526e224a9b1
parent82177b39ecb4c54908e015e250d6c3136ebeba65 (diff)
downloadmeta-openembedded-111baaaa22edead203ea2a06be8e1bd31b3d6090.tar.gz
pcapplusplus: upgrade 24.09 -> 25.05
New version includes support to build against CMake 4+. Release notes are available at [0]. [0]: https://github.com/seladb/PcapPlusPlus/releases/tag/v25.05 Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Remove-whitespace-in-operator-_json.patch52
-rw-r--r--meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_25.05.bb (renamed from meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_24.09.bb)6
2 files changed, 2 insertions, 56 deletions
diff --git a/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Remove-whitespace-in-operator-_json.patch b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Remove-whitespace-in-operator-_json.patch
deleted file mode 100644
index fb793548a2..0000000000
--- a/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Remove-whitespace-in-operator-_json.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1From 16974cb6a9f10fbd08db964ee0d9f074ef430db6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Mar 2025 11:55:12 -0800
4Subject: [PATCH] Remove whitespace in operator"" _json
5
6Clang 20+ errors about this whitespace.
7
8Fixes
9git/3rdParty/json/include/json.hpp:24428:58: error: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Werror,-Wdeprecated-literal-operator]
10 24428 | using nlohmann::literals::json_literals::operator "" _json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers)
11 | ~~~~~~~~~~~~^~~~~
12 | operator""_json
13
14Upstream-Status: Backport [ Its fixed in json import post 2024.9 release ]
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 3rdParty/json/include/json.hpp | 8 ++++----
18 1 file changed, 4 insertions(+), 4 deletions(-)
19
20diff --git a/3rdParty/json/include/json.hpp b/3rdParty/json/include/json.hpp
21index 60ba1df..6eceb7c 100644
22--- a/3rdParty/json/include/json.hpp
23+++ b/3rdParty/json/include/json.hpp
24@@ -24353,7 +24353,7 @@ inline namespace json_literals
25 /// @brief user-defined string literal for JSON values
26 /// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json/
27 JSON_HEDLEY_NON_NULL(1)
28-inline nlohmann::json operator "" _json(const char* s, std::size_t n)
29+inline nlohmann::json operator ""_json(const char* s, std::size_t n)
30 {
31 return nlohmann::json::parse(s, s + n);
32 }
33@@ -24361,7 +24361,7 @@ inline nlohmann::json operator "" _json(const char* s, std::size_t n)
34 /// @brief user-defined string literal for JSON pointer
35 /// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json_pointer/
36 JSON_HEDLEY_NON_NULL(1)
37-inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std::size_t n)
38+inline nlohmann::json::json_pointer operator ""_json_pointer(const char* s, std::size_t n)
39 {
40 return nlohmann::json::json_pointer(std::string(s, n));
41 }
42@@ -24425,8 +24425,8 @@ inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC
43 } // namespace std
44
45 #if JSON_USE_GLOBAL_UDLS
46- using nlohmann::literals::json_literals::operator "" _json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers)
47- using nlohmann::literals::json_literals::operator "" _json_pointer; //NOLINT(misc-unused-using-decls,google-global-names-in-headers)
48+ using nlohmann::literals::json_literals::operator ""_json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers)
49+ using nlohmann::literals::json_literals::operator ""_json_pointer; //NOLINT(misc-unused-using-decls,google-global-names-in-headers)
50 #endif
51
52 // #include <nlohmann/detail/macro_unscope.hpp>
diff --git a/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_24.09.bb b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_25.05.bb
index a04102aa42..aa5fb8d417 100644
--- a/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_24.09.bb
+++ b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_25.05.bb
@@ -7,10 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f"
7 7
8DEPENDS = "libpcap" 8DEPENDS = "libpcap"
9 9
10SRC_URI = "git://github.com/seladb/PcapPlusPlus.git;protocol=https;branch=master \ 10SRC_URI = "git://github.com/seladb/PcapPlusPlus.git;protocol=https;branch=master;tag=v${PV}"
11 file://0001-Remove-whitespace-in-operator-_json.patch \ 11SRCREV = "a49a79e0b67b402ad75ffa96c1795def36df75c8"
12 "
13SRCREV = "4af4b8b04e6d5dd40b8e69cc30c5c1f62e7fe368"
14 12
15 13
16inherit cmake 14inherit cmake