Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kakoune for openSUSE:Factory checked in at 2021-06-07 22:44:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kakoune (Old) and /work/SRC/openSUSE:Factory/.kakoune.new.32437 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kakoune" Mon Jun 7 22:44:40 2021 rev:18 rq:898148 version:2020.09.01 Changes: -------- --- /work/SRC/openSUSE:Factory/kakoune/kakoune.changes 2020-09-03 01:16:45.228527910 +0200 +++ /work/SRC/openSUSE:Factory/.kakoune.new.32437/kakoune.changes 2021-06-07 22:45:15.528663286 +0200 @@ -1,0 +2,6 @@ +Tue Jun 1 10:45:42 UTC 2021 - Christophe Giboudeaux <[email protected]> + +- Add GCC 11 compatibility fix: + * 0001-Add-missing-limits-includes.patch + +------------------------------------------------------------------- New: ---- 0001-Add-missing-limits-includes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kakoune.spec ++++++ --- /var/tmp/diff_new_pack.eXn27I/_old 2021-06-07 22:45:16.076664212 +0200 +++ /var/tmp/diff_new_pack.eXn27I/_new 2021-06-07 22:45:16.076664212 +0200 @@ -24,6 +24,8 @@ Group: Productivity/Text/Editors URL: https://kakoune.org/ Source: https://github.com/mawww/kakoune/releases/download/v%{version}/kakoune-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM +Patch0: 0001-Add-missing-limits-includes.patch BuildRequires: asciidoc BuildRequires: fdupes BuildRequires: gcc-c++ >= 5.0 @@ -36,21 +38,34 @@ It's faster as in less keystrokes, supports multiple selections and uses orthogonal design. %prep -%setup -q -n %{name}-%{version}/src +%autosetup -p1 %build +pushd src + make %{?_smp_mflags} CXXFLAGS="%{optflags} -std=gnu++17" +popd + %install +pushd src + make %{?_smp_mflags} install PREFIX=%{buildroot}%{_prefix} -rm -rf %{buildroot}%{_datadir}/doc + +popd + +rm -r %{buildroot}%{_datadir}/doc %fdupes %{buildroot} %check +pushd src + LANG=en_US.utf8 make %{?_smp_mflags} test +popd + %files -%license ../UNLICENSE +%license UNLICENSE %{_bindir}/kak %{_datadir}/kak %{_mandir}/man1/kak.1%{?ext_man} ++++++ 0001-Add-missing-limits-includes.patch ++++++ >From 6b8d1cbe4dbe21fc07eb9ab2ab654560d4df00b1 Mon Sep 17 00:00:00 2001 From: Maxime Coste <[email protected]> Date: Sun, 3 Jan 2021 10:58:09 +1100 Subject: [PATCH] Add missing limits includes Fixes #4003 --- src/file.cc | 1 + src/highlighters.cc | 1 + src/input_handler.cc | 5 +++-- src/regex_impl.cc | 1 + src/selection.hh | 2 ++ 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/file.cc b/src/file.cc index 88c502d..890723d 100644 --- a/src/file.cc +++ b/src/file.cc @@ -10,6 +10,7 @@ #include "string.hh" #include "unicode.hh" +#include <limits> #include <cerrno> #include <cstdlib> #include <cstdio> diff --git a/src/highlighters.cc b/src/highlighters.cc index 78099b0..56e3b03 100644 --- a/src/highlighters.cc +++ b/src/highlighters.cc @@ -20,6 +20,7 @@ #include "window.hh" #include <cstdio> +#include <limits> namespace Kakoune { diff --git a/src/input_handler.cc b/src/input_handler.cc index 36425ef..53261b2 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -1,5 +1,3 @@ -#include <utility> - #include "input_handler.hh" #include "buffer_manager.hh" @@ -18,6 +16,9 @@ #include "utf8.hh" #include "window.hh" +#include <utility> +#include <limits> + namespace Kakoune { diff --git a/src/regex_impl.cc b/src/regex_impl.cc index a4457bc..c5d755a 100644 --- a/src/regex_impl.cc +++ b/src/regex_impl.cc @@ -12,6 +12,7 @@ #include <cstdio> #include <cstring> +#include <limits> namespace Kakoune { diff --git a/src/selection.hh b/src/selection.hh index 28eca5f..c880aaf 100644 --- a/src/selection.hh +++ b/src/selection.hh @@ -3,6 +3,8 @@ #include "buffer.hh" +#include <limits> + namespace Kakoune { -- 2.31.1
