summaryrefslogtreecommitdiff
path: root/pcr/gnash-git/gnash_boost.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-01-09 12:06:39 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-01-09 12:06:39 -0500
commitb03089f7a4056a33b49d7a7a16a44512c4b04940 (patch)
tree3bfa29b350ca3e61e5dc02ebb4408abb9e0d9fb3 /pcr/gnash-git/gnash_boost.patch
parent3a4ea4ebbfa3ec74446eee90138ee7a410018907 (diff)
gnash-git-0.8.11.r22311.gf0f66ce-1: updating version
Diffstat (limited to 'pcr/gnash-git/gnash_boost.patch')
-rw-r--r--pcr/gnash-git/gnash_boost.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcr/gnash-git/gnash_boost.patch b/pcr/gnash-git/gnash_boost.patch
new file mode 100644
index 000000000..e617891a4
--- /dev/null
+++ b/pcr/gnash-git/gnash_boost.patch
@@ -0,0 +1,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; }
+