diff options
author | joerg <joerg@pkgsrc.org> | 2017-05-22 23:40:22 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2017-05-22 23:40:22 +0000 |
commit | 8f2b44ab224762e14f30b9015d61989c7d165c7f (patch) | |
tree | dc5ae0418112185e2b088aa58aa54a13306f6f7d /misc/qbrew | |
parent | 5132eb980f586fd8db51c7edb0e086f35482938c (diff) | |
download | pkgsrc-8f2b44ab224762e14f30b9015d61989c7d165c7f.tar.gz |
Don't depend on bool <-> 0 <-> foo * conversions. They don't apply with
C++11+.
Diffstat (limited to 'misc/qbrew')
-rw-r--r-- | misc/qbrew/distinfo | 3 | ||||
-rw-r--r-- | misc/qbrew/patches/patch-src_beerxmlreader.cpp | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/misc/qbrew/distinfo b/misc/qbrew/distinfo index f4dae5ecabc..41d8a0eadbb 100644 --- a/misc/qbrew/distinfo +++ b/misc/qbrew/distinfo @@ -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 --git a/misc/qbrew/patches/patch-src_beerxmlreader.cpp b/misc/qbrew/patches/patch-src_beerxmlreader.cpp new file mode 100644 index 00000000000..3c59d77f16c --- /dev/null +++ b/misc/qbrew/patches/patch-src_beerxmlreader.cpp @@ -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 |