ports/devel/monotone/patches/patch-src_vocab_cc

21 lines
564 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
A function macro named E clashes with internal boost definitions. Rearrange
the order of header inclusion so that affected boost headers are included
before monotone defines the macro.
Also, stop bundling boost/circular_buffer, which is available in current
versions of boost. From Fedora.
Index: src/vocab.cc
--- src/vocab.cc.orig
+++ src/vocab.cc
@@ -11,8 +11,8 @@
#include "base.hh"
#include "constants.hh"
#include "hash_map.hh"
-#include "sanity.hh"
#include "vocab.hh"
+#include "sanity.hh"
#include "char_classifiers.hh"
#include "transforms.hh"