Fix FTBFS with GCC-12
authorTimo Röhling <roehling@debian.org>
Thu, 16 Jun 2022 16:58:49 +0000 (18:58 +0200)
committerTimo Röhling <roehling@debian.org>
Thu, 16 Jun 2022 16:58:49 +0000 (18:58 +0200)
Closes: #1012926
debian/patches/0016-Fix-FTBFS-with-GCC-12.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0016-Fix-FTBFS-with-GCC-12.patch b/debian/patches/0016-Fix-FTBFS-with-GCC-12.patch
new file mode 100644 (file)
index 0000000..9ebeb43
--- /dev/null
@@ -0,0 +1,20 @@
+From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
+Date: Thu, 16 Jun 2022 18:46:44 +0200
+Subject: Fix FTBFS with GCC-12
+
+---
+ libs/utils/src/Profiler.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libs/utils/src/Profiler.cpp b/libs/utils/src/Profiler.cpp
+index 75caf87..61513b8 100644
+--- a/libs/utils/src/Profiler.cpp
++++ b/libs/utils/src/Profiler.cpp
+@@ -27,6 +27,7 @@
+ #endif
+ #include <algorithm>
++#include <iterator>
+ #include <memory>
+ #if defined(__linux__)
index 5dbb9f83ad2a831543888fd5f1a3be4de2a2b464..623bfd4a45f0c6de31c374c4e73b92db3143a19f 100644 (file)
@@ -13,3 +13,4 @@
 0013-Define-M_PIf-only-if-it-is-not-already-defined-in-ma.patch
 0014-Avoid-mips-as-identifier-because-it-fails-on-mips-ar.patch
 0015-Ensure-proper-alignment-of-resgen-_OFFSET-and-_SIZE-.patch
+0016-Fix-FTBFS-with-GCC-12.patch