pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/qbrew Don't depend on bool <-> 0 <-> foo * conver...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e9dcaa86a69
branches:  trunk
changeset: 362706:9e9dcaa86a69
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon May 22 23:40:22 2017 +0000

description:
Don't depend on bool <-> 0 <-> foo * conversions. They don't apply with
C++11+.

diffstat:

 misc/qbrew/distinfo                            |   3 ++-
 misc/qbrew/patches/patch-src_beerxmlreader.cpp |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r cb2fd70bf354 -r 9e9dcaa86a69 misc/qbrew/distinfo
--- a/misc/qbrew/distinfo       Mon May 22 23:36:44 2017 +0000
+++ b/misc/qbrew/distinfo       Mon May 22 23:40:22 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 23:49:48 agc Exp $
+$NetBSD: distinfo,v 1.7 2017/05/22 23:40:22 joerg Exp $
 
 SHA1 (qbrew-0.4.1.tar.gz) = 44c82fee8ec93f8c274c87b1b673cd0c44503dea
 RMD160 (qbrew-0.4.1.tar.gz) = 47a87ae2600e16290526d0eaddf401e8edade285
 SHA512 (qbrew-0.4.1.tar.gz) = 9910c9070129b14bb4bd0f2d0356e07f53bbc2d1750e9eece8cbb668ee9eb8bd534fd0641f0cf8be4194f5f470b8b7d193d413c59aa0b69cc6d87d6453f247a4
 Size (qbrew-0.4.1.tar.gz) = 291237 bytes
+SHA1 (patch-src_beerxmlreader.cpp) = fd45cd5b4515fc4654f077ee7130a476119019b6
diff -r cb2fd70bf354 -r 9e9dcaa86a69 misc/qbrew/patches/patch-src_beerxmlreader.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/qbrew/patches/patch-src_beerxmlreader.cpp    Mon May 22 23:40:22 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_beerxmlreader.cpp,v 1.1 2017/05/22 23:40:22 joerg Exp $
+
+--- src/beerxmlreader.cpp.orig 2017-05-21 18:14:47.418438605 +0000
++++ src/beerxmlreader.cpp
+@@ -254,7 +254,7 @@ Recipe BeerXmlReader::readSingleRecipe()
+     }
+     if (hasError()) {
+         raiseError("Problem reading recipe");
+-        return false;
++        return Recipe(0);
+     }
+ 
+     // set grain use according to recipe type



Home | Main Index | Thread Index | Old Index