summaryrefslogtreecommitdiff
path: root/dev-python/graph-tool/files/0001-Fix-compilation-with-boost-1.83-and-boost-1.76.patch
blob: bac83a8c033799e767af3a60db07532a9986eaad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 005b377fa09c28a5f61f11319f337ceea640f4ab Mon Sep 17 00:00:00 2001
From: Tiago de Paula Peixoto <tiago@skewed.de>
Date: Fri, 1 Sep 2023 10:27:28 +0200
Subject: [PATCH] Fix compilation with boost 1.83 and boost < 1.76 This unites
 upstream commits: 0a837b40 and 5517e370.

---
 src/graph/gml.hh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/graph/gml.hh b/src/graph/gml.hh
index 7bea0ca3..b4cb84db 100644
--- a/src/graph/gml.hh
+++ b/src/graph/gml.hh
@@ -26,6 +26,10 @@
 #include <boost/variant/get.hpp>
 #include <boost/spirit/include/support_istream_iterator.hpp>
 
+#if BOOST_VERSION >= 107600
+#include <boost/regex/v5/unicode_iterator.hpp>
+#endif
+
 #include <boost/algorithm/string/replace.hpp>
 
 #include <boost/property_map/dynamic_property_map.hpp>
-- 
2.41.0