pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/bmpx Add explicit bool conversion.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e879bb6278c
branches:  trunk
changeset: 356218:6e879bb6278c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 22 20:58:40 2016 +0000

description:
Add explicit bool conversion.

diffstat:

 audio/bmpx/distinfo                    |   3 ++-
 audio/bmpx/patches/patch-src_amazon.cc |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r f5729b88931d -r 6e879bb6278c audio/bmpx/distinfo
--- a/audio/bmpx/distinfo       Thu Dec 22 17:57:50 2016 +0000
+++ b/audio/bmpx/distinfo       Thu Dec 22 20:58:40 2016 +0000
@@ -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-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 -r f5729b88931d -r 6e879bb6278c audio/bmpx/patches/patch-src_amazon.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/bmpx/patches/patch-src_amazon.cc    Thu Dec 22 20:58:40 2016 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index