diff -Nru t4kcommon-0.1.1/debian/changelog t4kcommon-0.1.1/debian/changelog --- t4kcommon-0.1.1/debian/changelog 2020-05-20 08:30:44.000000000 +0000 +++ t4kcommon-0.1.1/debian/changelog 2020-11-21 17:08:36.000000000 +0000 @@ -1,3 +1,11 @@ +t4kcommon (0.1.1-10) unstable; urgency=medium + + * Add 0001-Fix-wrapped_lines-variable-declaration-extern.patch to fix build + with GCC 10.Closes: #957859. Thanks to Antoni Villalonga for the patch. + * Update standards version to 4.5.1. + + -- Holger Levsen Sat, 21 Nov 2020 18:08:36 +0100 + t4kcommon (0.1.1-9) unstable; urgency=medium * d/not-installed: use wildcards to ignore usr/lib/*/libt4k_common.(a|la) diff -Nru t4kcommon-0.1.1/debian/control t4kcommon-0.1.1/debian/control --- t4kcommon-0.1.1/debian/control 2020-05-20 08:09:35.000000000 +0000 +++ t4kcommon-0.1.1/debian/control 2020-11-21 12:39:42.000000000 +0000 @@ -15,7 +15,7 @@ ,libxml2-dev # needed for de-duplication: ,rdfind ,symlinks -Standards-Version: 4.5.0 +Standards-Version: 4.5.1 Rules-Requires-Root: no Homepage: https://github.com/tux4kids/ Vcs-Git: https://salsa.debian.org/tux4kids-pkg-team/t4kcommon.git diff -Nru t4kcommon-0.1.1/debian/patches/0001-Fix-wrapped_lines-variable-declaration-extern.patch t4kcommon-0.1.1/debian/patches/0001-Fix-wrapped_lines-variable-declaration-extern.patch --- t4kcommon-0.1.1/debian/patches/0001-Fix-wrapped_lines-variable-declaration-extern.patch 1970-01-01 00:00:00.000000000 +0000 +++ t4kcommon-0.1.1/debian/patches/0001-Fix-wrapped_lines-variable-declaration-extern.patch 2020-11-21 13:10:41.000000000 +0000 @@ -0,0 +1,26 @@ +From f36ec174f4d8130749f11aeb1d77a81da4be89aa Mon Sep 17 00:00:00 2001 +From: Antoni Villalonga +Date: Mon, 31 Aug 2020 09:05:16 +0200 +Subject: [PATCH] Fix wrapped_lines variable declaration (extern) + +Signed-off-by: Holger Levsen +--- + src/t4k_common.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/t4k_common.h b/src/t4k_common.h +index 36d937b..68f6005 100644 +--- a/src/t4k_common.h ++++ b/src/t4k_common.h +@@ -245,7 +245,7 @@ MFStrategy; + #define MAX_LINES 128 //!< Maximum lines to wrap. + #define MAX_LINEWIDTH 256 //!< Maximum characters of each line. + +-char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines. ++extern char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines. + + //TODO separate headers for different areas a la SDL? + +-- +2.20.1 + diff -Nru t4kcommon-0.1.1/debian/patches/series t4kcommon-0.1.1/debian/patches/series --- t4kcommon-0.1.1/debian/patches/series 2020-05-20 08:09:35.000000000 +0000 +++ t4kcommon-0.1.1/debian/patches/series 2020-11-21 12:43:53.000000000 +0000 @@ -1,2 +1,3 @@ libpng16.patch 916060_bugfix.patch +0001-Fix-wrapped_lines-variable-declaration-extern.patch