diff options
author | joerg <joerg@pkgsrc.org> | 2016-12-22 20:58:40 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2016-12-22 20:58:40 +0000 |
commit | 189208f07e7bfc997a2b570eb05c4a8b80801c28 (patch) | |
tree | 24988ce91f4bbff1f496cb667eb3c077852beaf8 /audio/bmpx | |
parent | 5b7eca774994a3dcd114257ec00b4860a6e816b9 (diff) | |
download | pkgsrc-189208f07e7bfc997a2b570eb05c4a8b80801c28.tar.gz |
Add explicit bool conversion.
Diffstat (limited to 'audio/bmpx')
-rw-r--r-- | audio/bmpx/distinfo | 3 | ||||
-rw-r--r-- | audio/bmpx/patches/patch-src_amazon.cc | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/bmpx/distinfo b/audio/bmpx/distinfo index 7fff85b686c..512d1491985 100644 --- a/audio/bmpx/distinfo +++ b/audio/bmpx/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.21 2015/11/03 01:12:26 agc Exp $ +$NetBSD: distinfo,v 1.22 2016/12/22 20:58:40 joerg Exp $ SHA1 (bmpx-0.40.14.tar.bz2) = 3284843c45cab302f414663a5cb31eb4373d07c7 RMD160 (bmpx-0.40.14.tar.bz2) = 12a9939d53b58a43ee9deefa43188ac6b33dae72 @@ -18,6 +18,7 @@ SHA1 (patch-ak) = 10a363145c7e9f75e07ca69fc38515413fc606f8 SHA1 (patch-library_cc) = 26cbced97d7669081eb4ff60c062a34c258c7337 SHA1 (patch-mcs_gtk-bind.h) = e9417364df34f8baea6b279b5bc1d1b4ba0d966a SHA1 (patch-plugins_vfs_container_libcontainer__folder.cc) = 0a179855b59fc382de68c6cbfc02cf3695dc7a8e +SHA1 (patch-src_amazon.cc) = b8e275f034686b39d8eb15c97ce0295fd9559d42 SHA1 (patch-src_debug.cc) = f951e16a43f7d6fed4e806486bb6c8bc6f13ca89 SHA1 (patch-src_debug.hh) = 58d86f34785d566262b95834cd784b064b47247f SHA1 (patch-src_dialog-progress_hh) = cfb3caa62cbca65bc6e8c70543ad20d857f45ce5 diff --git a/audio/bmpx/patches/patch-src_amazon.cc b/audio/bmpx/patches/patch-src_amazon.cc new file mode 100644 index 00000000000..794483dd733 --- /dev/null +++ b/audio/bmpx/patches/patch-src_amazon.cc @@ -0,0 +1,15 @@ +$NetBSD: patch-src_amazon.cc,v 1.1 2016/12/22 20:58:40 joerg Exp $ + +operator bool of RefPtr<> is explicit, so force the conversion. + +--- src/amazon.cc.orig 2016-12-22 12:54:02.224939332 +0000 ++++ src/amazon.cc +@@ -121,7 +121,7 @@ namespace Bmp + { + cover = RefPtr<Gdk::Pixbuf> (0); + } +- return cover; ++ return bool(cover); + } + + RefPtr<Gdk::Pixbuf> |