summaryrefslogtreecommitdiffstats
path: root/multimedia/gnash/patch
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-08 07:48:19 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-08 07:50:50 +0700
commiteda86659c978fcc37425d23ef7c99ff227b27159 (patch)
tree627d50475255d5fefe7a6d9541e80656df872e75 /multimedia/gnash/patch
parente1b15b6852d558cd672100bc4a0f9112076fed17 (diff)
downloadslackbuilds-eda86659c978fcc37425d23ef7c99ff227b27159.tar.gz
slackbuilds-eda86659c978fcc37425d23ef7c99ff227b27159.tar.xz
multimedia/gnash: Fix build against new boost.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/gnash/patch')
-rw-r--r--multimedia/gnash/patch/gnash-boost.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/gnash/patch/gnash-boost.patch b/multimedia/gnash/patch/gnash-boost.patch
new file mode 100644
index 0000000000..55208f1ae3
--- /dev/null
+++ b/multimedia/gnash/patch/gnash-boost.patch
@@ -0,0 +1,14 @@
+--- gnash-0.8.10/libbase/accumulator.h.orig 2016-02-08 02:56:17.059694787 +0700
++++ gnash-0.8.10/libbase/accumulator.h 2016-02-08 02:57:58.375615249 +0700
+@@ -61,6 +61,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; }
+