Control: tags 957147 + patch
Control: tags 957147 + pending

Dear maintainer,

I've prepared an NMU for docopt.cpp (versioned as 0.6.2-2.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru docopt.cpp-0.6.2/debian/changelog docopt.cpp-0.6.2/debian/changelog
--- docopt.cpp-0.6.2/debian/changelog	2017-04-21 00:54:33.000000000 -0700
+++ docopt.cpp-0.6.2/debian/changelog	2020-07-24 22:34:42.000000000 -0700
@@ -1,3 +1,10 @@
+docopt.cpp (0.6.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add upstream patch to fix compilation with GCC 10 (Closes: #957147)
+
+ -- Kunal Mehta <lego...@debian.org>  Fri, 24 Jul 2020 22:34:42 -0700
+
 docopt.cpp (0.6.2-2) unstable; urgency=medium
 
   * Switch from git-dpm to gbp
diff -Nru docopt.cpp-0.6.2/debian/patches/0003-Add-missing-stdexcept-include-to-use-std-runtime_err.patch docopt.cpp-0.6.2/debian/patches/0003-Add-missing-stdexcept-include-to-use-std-runtime_err.patch
--- docopt.cpp-0.6.2/debian/patches/0003-Add-missing-stdexcept-include-to-use-std-runtime_err.patch	1969-12-31 16:00:00.000000000 -0800
+++ docopt.cpp-0.6.2/debian/patches/0003-Add-missing-stdexcept-include-to-use-std-runtime_err.patch	2020-07-24 22:34:42.000000000 -0700
@@ -0,0 +1,21 @@
+From: Cheney-Wang <v-xin...@microsoft.com>
+Date: Wed, 31 Oct 2018 19:21:26 -0700
+Subject: Add missing <stdexcept> include to use std::runtime_error
+
+Origin: https://github.com/docopt/docopt.cpp/commit/72a8e3e01effe22ac0f4e29c14153743172efcb5
+---
+ docopt_value.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/docopt_value.h b/docopt_value.h
+index a923219..829ee55 100644
+--- a/docopt_value.h
++++ b/docopt_value.h
+@@ -9,6 +9,7 @@
+ #ifndef docopt__value_h_
+ #define docopt__value_h_
+ 
++#include <stdexcept>
+ #include <string>
+ #include <vector>
+ #include <functional> // std::hash
diff -Nru docopt.cpp-0.6.2/debian/patches/series docopt.cpp-0.6.2/debian/patches/series
--- docopt.cpp-0.6.2/debian/patches/series	2017-04-21 00:54:33.000000000 -0700
+++ docopt.cpp-0.6.2/debian/patches/series	2020-07-24 22:34:42.000000000 -0700
@@ -1,2 +1,3 @@
 Set-versioning-properties.patch
 Make-tests-compatible-with-Python-3.patch
+0003-Add-missing-stdexcept-include-to-use-std-runtime_err.patch

Reply via email to