Control: tags 957118 + patch
Control: tags 957118 + pending

Dear maintainer,

I've prepared an NMU for curseofwar (versioned as 1.1.8-3.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

--
Regards
Sudip

diff -Nru curseofwar-1.1.8/debian/changelog curseofwar-1.1.8/debian/changelog
--- curseofwar-1.1.8/debian/changelog   2013-07-28 07:08:52.000000000 +0100
+++ curseofwar-1.1.8/debian/changelog   2020-08-20 21:07:49.000000000 +0100
@@ -1,3 +1,11 @@
+curseofwar (1.1.8-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC-10. (Closes: #957118)
+    - Use upstream patch, thanks to Reiner Herrmann.
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Thu, 20 Aug 2020 21:07:49 
+0100
+
 curseofwar (1.1.8-3) unstable; urgency=low
 
   * Initial release (Closes: #717348)
diff -Nru 
curseofwar-1.1.8/debian/patches/0001-made-dirs-extern-to-compile-as-C-code-with-cmake.patch
 
curseofwar-1.1.8/debian/patches/0001-made-dirs-extern-to-compile-as-C-code-with-cmake.patch
--- 
curseofwar-1.1.8/debian/patches/0001-made-dirs-extern-to-compile-as-C-code-with-cmake.patch
 1970-01-01 01:00:00.000000000 +0100
+++ 
curseofwar-1.1.8/debian/patches/0001-made-dirs-extern-to-compile-as-C-code-with-cmake.patch
 2020-08-20 21:04:23.000000000 +0100
@@ -0,0 +1,28 @@
+From 21d071c221bc0a1a3e67f9e346f1495664d66480 Mon Sep 17 00:00:00 2001
+From: Alexey Nikolaev <orthof...@gmail.com>
+Date: Thu, 1 Aug 2013 17:25:45 -0400
+Subject: [PATCH] made dirs extern to compile as C++ code with cmake
+
+---
+
+upstream link: 
https://github.com/a-nikolaev/curseofwar/commit/21d071c221bc0a1a3e67f9e346f1495664d66480
+
+ grid.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/grid.h b/grid.h
+index f3951a5..a63c342 100644
+--- a/grid.h
++++ b/grid.h
+@@ -98,7 +98,7 @@ struct loc {
+ };
+ 
+ /* There are 6 possible directions to move from a tile. Hexagonal geometry. */
+-const struct loc dirs[DIRECTIONS];
++extern const struct loc dirs[DIRECTIONS];
+ 
+ /* struct grid
+  *
+-- 
+2.20.1
+
diff -Nru curseofwar-1.1.8/debian/patches/series 
curseofwar-1.1.8/debian/patches/series
--- curseofwar-1.1.8/debian/patches/series      1970-01-01 01:00:00.000000000 
+0100
+++ curseofwar-1.1.8/debian/patches/series      2020-08-20 21:04:02.000000000 
+0100
@@ -0,0 +1 @@
+0001-made-dirs-extern-to-compile-as-C-code-with-cmake.patch

Reply via email to