From 0369eabb06d4b4ea2d8d2acf69dd4b3fb38f25b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Thu, 10 Sep 2020 20:04:39 +0200 Subject: Fix FTBFS with gcc-10 --- debian/changelog | 7 +++++++ debian/patches/0120-g++10.patch | 12 ++++++++++++ debian/patches/series | 1 + 3 files changed, 20 insertions(+) create mode 100644 debian/patches/0120-g++10.patch diff --git a/debian/changelog b/debian/changelog index 10b49d5..6fdd98b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +xsd (4.0.0-10) UNRELEASED; urgency=medium + + * Fix FTBFS with gcc-10 (Closes: #957999): + - New debian/patches/0120-g++10.patch. + + -- Jörg Frings-Fürst Sun, 31 May 2020 17:16:10 +0200 + xsd (4.0.0-9) unstable; urgency=medium * Fix FTCBFS: Use dpkg's buildtools.mk to export tools for make diff --git a/debian/patches/0120-g++10.patch b/debian/patches/0120-g++10.patch new file mode 100644 index 0000000..5828dcf --- /dev/null +++ b/debian/patches/0120-g++10.patch @@ -0,0 +1,12 @@ +Index: trunk/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx +=================================================================== +--- trunk.orig/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx ++++ trunk/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx +@@ -3,6 +3,7 @@ + // license : GNU GPL v2 + exceptions; see accompanying LICENSE file + + #include ++#include + + #include + diff --git a/debian/patches/series b/debian/patches/series index 9836207..e82ca95 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ 0105-Fix_path_handling_bug.patch 0110-xerces-c3.2.patch 0115-lintian-typos.patch +0120-g++10.patch -- cgit v1.2.3