guix-mirrors/gnu/packages/patches/doxygen-support-gcc-12.patch
Greg Hogan d5a122921a
gnu: doxygen: Fix build with GCC-12.
* gnu/packages/patches/doxygen-support-gcc-12.patch: New file.
* gnu/local.mk: Add it.
* gnu/packages/documentation.scm (doxygen)[source]: Add patch.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-01 23:37:13 +02:00

15 lines
467 B
Diff

Fix for https://github.com/doxygen/doxygen/issues/9312 made in unreleased upstream commit
https://github.com/doxygen/doxygen/commit/5198966c8d5fec89116d025c74934ac03ea511fa
diff --git a/src/cache.h b/src/cache.h
index 0ff3092ed5..e218eb27d2 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -19,6 +19,7 @@
#include <list>
#include <unordered_map>
#include <mutex>
+#include <utility>
#include <ctype.h>
/*! Fixed size cache for value type V using keys of type K.