Control: tags 1131337 + patch Control: tags 1131337 + pending Dear maintainer,
I've prepared an NMU for reflect-cpp (versioned as 0.21.0+ds-2.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for reflect-cpp-0.21.0+ds reflect-cpp-0.21.0+ds changelog | 7 +++++++ patches/no-Werror.patch | 15 +++++++++++++++ patches/series | 1 + rules | 1 - 4 files changed, 23 insertions(+), 1 deletion(-) diff -Nru reflect-cpp-0.21.0+ds/debian/changelog reflect-cpp-0.21.0+ds/debian/changelog --- reflect-cpp-0.21.0+ds/debian/changelog 2025-10-24 12:26:42.000000000 +0300 +++ reflect-cpp-0.21.0+ds/debian/changelog 2026-03-22 18:58:13.000000000 +0200 @@ -1,3 +1,10 @@ +reflect-cpp (0.21.0+ds-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Don't build tests with -Werror. (Closes: #1131337) + + -- Adrian Bunk <[email protected]> Sun, 22 Mar 2026 18:58:13 +0200 + reflect-cpp (0.21.0+ds-2) unstable; urgency=medium * d/patches: add patch to fix compatibility with yyjson 0.12. diff -Nru reflect-cpp-0.21.0+ds/debian/patches/no-Werror.patch reflect-cpp-0.21.0+ds/debian/patches/no-Werror.patch --- reflect-cpp-0.21.0+ds/debian/patches/no-Werror.patch 1970-01-01 02:00:00.000000000 +0200 +++ reflect-cpp-0.21.0+ds/debian/patches/no-Werror.patch 2026-03-22 18:58:13.000000000 +0200 @@ -0,0 +1,15 @@ +Description: Don't build tests with -Werror +Author: Adrian Bunk <[email protected]> +Bug-Debian: https://bugs.debian.org/1131337 + +--- reflect-cpp-0.21.0+ds.orig/tests/CMakeLists.txt ++++ reflect-cpp-0.21.0+ds/tests/CMakeLists.txt +@@ -3,7 +3,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wal + if (MSVC) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std:c++20") + else() +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -Wall -Werror -ggdb -ftemplate-backtrace-limit=0") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -Wall -ggdb -ftemplate-backtrace-limit=0") + endif() + + if (REFLECTCPP_JSON) diff -Nru reflect-cpp-0.21.0+ds/debian/patches/series reflect-cpp-0.21.0+ds/debian/patches/series --- reflect-cpp-0.21.0+ds/debian/patches/series 2025-10-24 12:24:38.000000000 +0300 +++ reflect-cpp-0.21.0+ds/debian/patches/series 2026-03-22 18:58:13.000000000 +0200 @@ -2,3 +2,4 @@ cmake-soversion.patch fix-pugixml-compatibility.patch fix-for-yyjson-0.12.patch +no-Werror.patch diff -Nru reflect-cpp-0.21.0+ds/debian/rules reflect-cpp-0.21.0+ds/debian/rules --- reflect-cpp-0.21.0+ds/debian/rules 2025-09-18 14:07:08.000000000 +0300 +++ reflect-cpp-0.21.0+ds/debian/rules 2026-03-22 18:58:13.000000000 +0200 @@ -1,7 +1,6 @@ #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export DEB_CXXFLAGS_MAINT_APPEND = -Wno-error=maybe-uninitialized DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk

