Hello community, here is the log from the commit of package fish for openSUSE:Factory checked in at 2020-04-04 12:19:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fish (Old) and /work/SRC/openSUSE:Factory/.fish.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fish" Sat Apr 4 12:19:32 2020 rev:21 rq:790060 version:3.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/fish/fish.changes 2020-03-17 13:10:47.837829003 +0100 +++ /work/SRC/openSUSE:Factory/.fish.new.3248/fish.changes 2020-04-04 12:19:34.927632256 +0200 @@ -1,0 +2,6 @@ +Tue Mar 31 09:20:39 UTC 2020 - Simon Lees <[email protected]> + +- Fix build with gcc10 fix-gcc10-build.patch (boo#1167862) +- Use python3 rather then python2 + +------------------------------------------------------------------- New: ---- fix-gcc10-build.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fish.spec ++++++ --- /var/tmp/diff_new_pack.RhTAHg/_old 2020-04-04 12:19:36.087633253 +0200 +++ /var/tmp/diff_new_pack.RhTAHg/_new 2020-04-04 12:19:36.091633256 +0200 @@ -24,6 +24,7 @@ Group: System/Shells URL: https://fishshell.com/ Source: https://github.com/fish-shell/fish-shell/releases/download/%{version}/fish-%{version}.tar.gz +Patch0: fix-gcc10-build.patch BuildRequires: cmake BuildRequires: doxygen BuildRequires: gcc-c++ @@ -32,7 +33,7 @@ BuildRequires: ncurses-devel BuildRequires: pcre2-devel >= 10.21 BuildRequires: pkgconfig -BuildRequires: python +BuildRequires: python3 Requires: bc Requires: man Recommends: terminfo @@ -52,6 +53,7 @@ %prep %setup -q +%autopatch -p1 # fix E: env-script-interpreter find share/tools -type f -name *.py -exec sed -i -r '1s|^#!%{_bindir}/env |#!%{_bindir}/|' {} + ++++++ fix-gcc10-build.patch ++++++ Index: fish-3.1.0/src/iothread.h =================================================================== --- fish-3.1.0.orig/src/iothread.h +++ fish-3.1.0/src/iothread.h @@ -4,6 +4,7 @@ #include <pthread.h> +#include <cstdint> // for uint64_t #include <functional> #include <type_traits>
