The attached patch allowed toml11 to build for me. It just disables the warning in the affected header file. What do you think Lance?
diff --git a/debian/patches/downgrade_maybe_uninitialized_variable_error.patch b/debian/patches/downgrade_maybe_uninitialized_variable_error.patch
new file mode 100644
index 0000000..b417a4e
--- /dev/null
+++ b/debian/patches/downgrade_maybe_uninitialized_variable_error.patch
@@ -0,0 +1,20 @@
+diff --git a/include/toml11/value.hpp b/include/toml11/value.hpp
+index 7053f35..d8e9e01 100644
+--- a/include/toml11/value.hpp
++++ b/include/toml11/value.hpp
+@@ -23,6 +23,9 @@
+
+ #include <cassert>
+
++#pragma GCC diagnostic push
++#pragma GCC diagnostic warning "-Wmaybe-uninitialized"
++
+ namespace toml
+ {
+ template<typename TypeConfig>
+@@ -2508,3 +2511,5 @@ void unset_access_flag_recursively(basic_value<TC>& v)
+ } // namespace detail
+ } // namespace toml
+ #endif // TOML11_VALUE_HPP
++
++#pragma GCC diagnostic pop
diff --git a/debian/patches/series b/debian/patches/series
index 04a6923..35cc8f0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
cmake-install.patch
include_doctest_from_external_dependency.patch
downgrade_uninitialized_variable_error.patch
+downgrade_maybe_uninitialized_variable_error.patch
signature.asc
Description: signature

