summaryrefslogtreecommitdiff
path: root/pcr/gnash-git/gnash_boost.patch
blob: e617891a4db5778c6b66236e9f06cc4f5626ad23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- gnash.orig/libbase/accumulator.h	2016-01-09 11:08:36.983892360 -0500
+++ gnash/libbase/accumulator.h	2016-01-09 11:10:26.775762676 -0500
@@ -22,6 +22,7 @@
 
 #include <boost/program_options/value_semantic.hpp>
 #include <boost/any.hpp>
+#include <boost/version.hpp>
 #include <functional>
 #include <vector>
 #include <string>
@@ -61,6 +62,11 @@
     virtual unsigned min_tokens() const { return 0; }
     virtual unsigned max_tokens() const { return 0; }
 
+#if BOOST_VERSION >= 105900
+    /// There are no tokens, so this is indifferent.
+    virtual bool adjacent_tokens_only() const { return false; }
+#endif
+
     /// Accumulating from different sources is silly.
     virtual bool is_composing() const { return false; }