Accepting request 790050 from home:simotek:branches:shells:fish2
- Fix build with gcc10 fix-gcc10-build.patch (boo#1167862) - Use python3 rather then python2 OBS-URL: https://build.opensuse.org/request/show/790050 OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=48
This commit is contained in:
parent
69389fb5b0
commit
b82d791403
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 31 09:20:39 UTC 2020 - Simon Lees <sflees@suse.de>
|
||||||
|
|
||||||
|
- Fix build with gcc10 fix-gcc10-build.patch (boo#1167862)
|
||||||
|
- Use python3 rather then python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 16 14:09:10 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
Mon Mar 16 14:09:10 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ License: GPL-2.0-only
|
|||||||
Group: System/Shells
|
Group: System/Shells
|
||||||
URL: https://fishshell.com/
|
URL: https://fishshell.com/
|
||||||
Source: https://github.com/fish-shell/fish-shell/releases/download/%{version}/fish-%{version}.tar.gz
|
Source: https://github.com/fish-shell/fish-shell/releases/download/%{version}/fish-%{version}.tar.gz
|
||||||
|
Patch0: fix-gcc10-build.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -32,7 +33,7 @@ BuildRequires: groff
|
|||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: pcre2-devel >= 10.21
|
BuildRequires: pcre2-devel >= 10.21
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python
|
BuildRequires: python3
|
||||||
Requires: bc
|
Requires: bc
|
||||||
Requires: man
|
Requires: man
|
||||||
Recommends: terminfo
|
Recommends: terminfo
|
||||||
@ -52,6 +53,7 @@ This package contains development files for the fish shell.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%autopatch -p1
|
||||||
|
|
||||||
# fix E: env-script-interpreter
|
# fix E: env-script-interpreter
|
||||||
find share/tools -type f -name *.py -exec sed -i -r '1s|^#!%{_bindir}/env |#!%{_bindir}/|' {} +
|
find share/tools -type f -name *.py -exec sed -i -r '1s|^#!%{_bindir}/env |#!%{_bindir}/|' {} +
|
||||||
|
12
fix-gcc10-build.patch
Normal file
12
fix-gcc10-build.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user