summaryrefslogtreecommitdiff
path: root/pcr/gnash-git/build_on_new_boost.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-03-08 18:07:09 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-03-08 18:07:09 -0500
commit125c346d752b0af24938cd2bf12fa67ba352aad1 (patch)
treed4fae4c266ae7405bab8d2d521493779fc3d8e87 /pcr/gnash-git/build_on_new_boost.patch
parentac5935643fcf3322c7f3d881a0636f403837e241 (diff)
gnash-git-0.8.11.r22358.g9229f6f-1: updating version
Diffstat (limited to 'pcr/gnash-git/build_on_new_boost.patch')
-rw-r--r--pcr/gnash-git/build_on_new_boost.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/gnash-git/build_on_new_boost.patch b/pcr/gnash-git/build_on_new_boost.patch
new file mode 100644
index 000000000..6671d361e
--- /dev/null
+++ b/pcr/gnash-git/build_on_new_boost.patch
@@ -0,0 +1,24 @@
+diff --git i/libbase/accumulator.h w/libbase/accumulator.h
+index 694cbd2..876c669 100644
+--- i/libbase/accumulator.h
++++ w/libbase/accumulator.h
+@@ -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 @@ public:
+ 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; }
+