diff options
author | joerg <joerg@pkgsrc.org> | 2013-12-15 19:42:04 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-12-15 19:42:04 +0000 |
commit | f701663203aacf9ee0c7e5e9663d1563b49eb77e (patch) | |
tree | 689ac8806b07afab93dfe979dd8c54728e38d85f /multimedia/gnash | |
parent | 0028c2bee60e72599a48993b800db25827977023 (diff) | |
download | pkgsrc-f701663203aacf9ee0c7e5e9663d1563b49eb77e.tar.gz |
Force explicit bool conversion for C++11 mode.
Diffstat (limited to 'multimedia/gnash')
-rw-r--r-- | multimedia/gnash/distinfo | 4 | ||||
-rw-r--r-- | multimedia/gnash/patches/patch-libcore_swf_DefineButtonTag.h | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/multimedia/gnash/distinfo b/multimedia/gnash/distinfo index 2dae1494f4b..8326be91fb7 100644 --- a/multimedia/gnash/distinfo +++ b/multimedia/gnash/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.22 2013/08/31 14:52:14 joerg Exp $ +$NetBSD: distinfo,v 1.23 2013/12/15 19:42:04 joerg Exp $ SHA1 (gnash-0.8.10.tar.bz2) = be3b12a5edcd3b05f2ae73d02f0991aa786e7300 RMD160 (gnash-0.8.10.tar.bz2) = 0093174ec0a912309772c033b5f1c1ad46ab41dc @@ -12,7 +12,7 @@ SHA1 (patch-libbase_Makefile.in) = c5b6533f5ac2b2ee26d0547c3054375e72512ccf SHA1 (patch-libbase_rc.cpp) = 2df75034a7f195864931504041ad956142495313 SHA1 (patch-libcore_Makefile.in) = 6b92917f0be3779b7f6e1993ac29960cef50c736 SHA1 (patch-libcore_movie__root.cpp) = 5ee7321011961427effd7951860cbf5f3c0b0a6f -SHA1 (patch-libcore_swf_DefineButtonTag.h) = 9306aab8a56e3447037d7aa1f9f67daec3c6c15a +SHA1 (patch-libcore_swf_DefineButtonTag.h) = 42e01cca7a5017349a3a0a31f1eb6b2aeb1f33fd SHA1 (patch-libmedia_FLVParser.cpp) = e990c82edceb3c5d481d7de86e720139b4dc60ea SHA1 (patch-libmedia_Makefile.in) = 10fde4560a20dcb28599d8c51a4fc7af93109474 SHA1 (patch-librender_Makefile.in) = 25e38d82e3ecc156ff1f2b855a05437da015f3ce diff --git a/multimedia/gnash/patches/patch-libcore_swf_DefineButtonTag.h b/multimedia/gnash/patches/patch-libcore_swf_DefineButtonTag.h index 81b03b9389b..a603b27399c 100644 --- a/multimedia/gnash/patches/patch-libcore_swf_DefineButtonTag.h +++ b/multimedia/gnash/patches/patch-libcore_swf_DefineButtonTag.h @@ -1,7 +1,16 @@ -$NetBSD: patch-libcore_swf_DefineButtonTag.h,v 1.1 2013/02/26 11:04:25 joerg Exp $ +$NetBSD: patch-libcore_swf_DefineButtonTag.h,v 1.2 2013/12/15 19:42:04 joerg Exp $ ---- libcore/swf/DefineButtonTag.h.orig 2013-02-25 19:42:00.000000000 +0000 +--- libcore/swf/DefineButtonTag.h.orig 2012-01-19 19:17:48.000000000 +0000 +++ libcore/swf/DefineButtonTag.h +@@ -98,7 +98,7 @@ public: + /// A ButtonRecord is invalid if it refers to a DisplayObject + /// which has not been defined. + bool valid() const { +- return (_definitionTag); ++ return bool(_definitionTag); + } + + private: @@ -157,8 +157,6 @@ public: return (_conditions & KEYPRESS); } |