ports/devel/monotone/patches/patch-src_globish_cc

22 lines
582 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/globish.cc
--- src/globish.cc.orig
+++ src/globish.cc
@@ -9,9 +9,9 @@
// PURPOSE.
#include "base.hh"
+#include "option.hh" // for arg_type
#include "sanity.hh"
#include "globish.hh"
-#include "option.hh" // for arg_type
#include "numeric_vocab.hh"
#include <iterator>