From 5317471fd578c7501126c6f7481f02f7ff02f248 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 9 Apr 2016 22:26:02 +0200 Subject: www-plugins/gnash: Add patch for dev-libs/boost-1.60 Gentoo-Bug: 579142 Package-Manager: portage-2.2.28 --- .../files/gnash-0.8.10_p20150316-boost-1.60.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 www-plugins/gnash/files/gnash-0.8.10_p20150316-boost-1.60.patch (limited to 'www-plugins/gnash/files') diff --git a/www-plugins/gnash/files/gnash-0.8.10_p20150316-boost-1.60.patch b/www-plugins/gnash/files/gnash-0.8.10_p20150316-boost-1.60.patch new file mode 100644 index 000000000000..6671d361e325 --- /dev/null +++ b/www-plugins/gnash/files/gnash-0.8.10_p20150316-boost-1.60.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 + #include ++#include + #include + #include + #include +@@ -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; } + -- cgit v1.2.3-65-gdbad