Hello community, here is the log from the commit of package newsboat for openSUSE:Factory checked in at 2020-06-11 10:06:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/newsboat (Old) and /work/SRC/openSUSE:Factory/.newsboat.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "newsboat" Thu Jun 11 10:06:14 2020 rev:10 rq:813127 version:2.19 Changes: -------- --- /work/SRC/openSUSE:Factory/newsboat/newsboat.changes 2020-03-23 12:53:12.996056490 +0100 +++ /work/SRC/openSUSE:Factory/.newsboat.new.3606/newsboat.changes 2020-06-11 10:07:45.647752415 +0200 @@ -1,0 +2,6 @@ +Tue Jun 9 15:07:47 UTC 2020 - Guillaume GARDET <[email protected]> + +- Fix build on non-x86: + * newsboat-fix-json-hpp.patch + +------------------------------------------------------------------- New: ---- newsboat-fix-json-hpp.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ newsboat.spec ++++++ --- /var/tmp/diff_new_pack.QSTYDx/_old 2020-06-11 10:07:47.679758960 +0200 +++ /var/tmp/diff_new_pack.QSTYDx/_new 2020-06-11 10:07:47.683758972 +0200 @@ -29,6 +29,8 @@ Source3: vendor.tar.xz # pbleser: introduce OPTFLAGS make variable, instead of hard-coded -ggdb Patch0: newsbeuter-makefile.patch +# PATCH-FIX-UPSTREAM - https://github.com/newsboat/newsboat/issues/994 +Patch1: newsboat-fix-json-hpp.patch BuildRequires: cargo BuildRequires: gcc-c++ BuildRequires: gettext-devel @@ -60,6 +62,7 @@ %prep %setup -qa3 %patch0 -p1 +%patch1 -p1 mkdir cargo-home cat >cargo-home/config <<EOF [source.crates-io] ++++++ newsboat-fix-json-hpp.patch ++++++ --- newsboat-2.19.orig/3rd-party/json.hpp 2020-06-09 15:05:17.108969818 +0000 +++ newsboat-2.19/3rd-party/json.hpp 2020-06-09 15:06:00.207716630 +0000 @@ -8491,7 +8491,7 @@ scan_number_done: std::string result; for (const auto c : token_string) { - if ('\x00' <= c and c <= '\x1F') + if (static_cast<unsigned char>(c) <= '\x1F') { // escape control characters std::array<char, 9> cs{{}};
