summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-09-10 20:04:39 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-09-10 20:04:39 +0200
commit0369eabb06d4b4ea2d8d2acf69dd4b3fb38f25b7 (patch)
treef608d3339801aacb70960b2a4674b0342c6c3ec0
parent5bb815188761ef6da556393113b5722f1a731fc7 (diff)
Fix FTBFS with gcc-10
-rw-r--r--debian/changelog7
-rw-r--r--debian/patches/0120-g++10.patch12
-rw-r--r--debian/patches/series1
3 files changed, 20 insertions, 0 deletions
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 <debian@jff.email> 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 <algorithm>
++#include <iostream>
+
+ #include <cutl/compiler/type-info.hxx>
+
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