[neon/backports-noble/rapidjson/Neon/release] debian/patches: so much refrechment

Carlos De Maine null at kde.org
Wed Mar 19 06:18:31 GMT 2025


Git commit 423010f6f23d40174c814189d0819cc3eeab6e0c by Carlos De Maine.
Committed on 19/03/2025 at 06:18.
Pushed by carlosdem into branch 'Neon/release'.

so much refrechment

D  +0    -41   debian/patches/0003-Suppress-Wformat-overflow-warning-error.patch
M  +0    -1    debian/patches/series

https://invent.kde.org/neon/backports-noble/rapidjson/-/commit/423010f6f23d40174c814189d0819cc3eeab6e0c

diff --git a/debian/patches/0003-Suppress-Wformat-overflow-warning-error.patch b/debian/patches/0003-Suppress-Wformat-overflow-warning-error.patch
deleted file mode 100644
index 54c9e5c..0000000
--- a/debian/patches/0003-Suppress-Wformat-overflow-warning-error.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 152511689bd9b9cdeed6a580479698e13df056b6 Mon Sep 17 00:00:00 2001
-From: Philipp A Hartmann <pah at qo.cx>
-Date: Sun, 15 Jul 2018 16:02:03 +0200
-Subject: [PATCH 3/3] Suppress -Wformat-overflow warning/error
-
-GCC 7 and later warn about overflow/truncation when using
-sprintf and related functions with fixed-size buffers.
-
-Suppress the warning in schematest.cpp.
----
- test/perftest/schematest.cpp | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/test/perftest/schematest.cpp b/test/perftest/schematest.cpp
-index 468f5fe6..7d27344b 100644
---- a/test/perftest/schematest.cpp
-+++ b/test/perftest/schematest.cpp
-@@ -11,6 +11,11 @@
- 
- using namespace rapidjson;
- 
-+RAPIDJSON_DIAG_PUSH
-+#if defined(__GNUC__) && __GNUC__ >= 7
-+RAPIDJSON_DIAG_OFF(format-overflow)
-+#endif
-+
- template <typename Allocator>
- static char* ReadFile(const char* filename, Allocator& allocator) {
-     const char *paths[] = {
-@@ -42,6 +47,8 @@ static char* ReadFile(const char* filename, Allocator& allocator) {
-     return json;
- }
- 
-+RAPIDJSON_DIAG_POP
-+
- class Schema : public PerfTest {
- public:
-     Schema() {}
--- 
-2.18.0
-
diff --git a/debian/patches/series b/debian/patches/series
index ec21904..4a0d3aa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
-0003-Suppress-Wformat-overflow-warning-error.patch
 deal-with-Werror-type-limits.patch
 gcc12_encdedstreamtest.patch
 python3.diff


More information about the Neon-commits mailing list