summaryrefslogtreecommitdiff
path: root/app-editors
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/Manifest.gzbin14273 -> 14268 bytes
-rw-r--r--app-editors/kakoune/Manifest3
-rw-r--r--app-editors/kakoune/files/kakoune-2022.10.31-gcc13.patch29
-rw-r--r--app-editors/kakoune/kakoune-2022.10.31.ebuild6
4 files changed, 36 insertions, 2 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz
index aa58dd479926..8d403c4098b8 100644
--- a/app-editors/Manifest.gz
+++ b/app-editors/Manifest.gz
Binary files differ
diff --git a/app-editors/kakoune/Manifest b/app-editors/kakoune/Manifest
index 095490986a92..c40743a683ce 100644
--- a/app-editors/kakoune/Manifest
+++ b/app-editors/kakoune/Manifest
@@ -1,3 +1,4 @@
+AUX kakoune-2022.10.31-gcc13.patch 540 BLAKE2B 0ecced3f85c3e4dfeb62b302e72047e8ef877b275ab806cd6a42181a3e614f9b6b384feac286c3dfcc1d61b8a72183729783de885b778cf290e11dffc7308b98 SHA512 a4a1aaa7e206f0fca042d3956965ffb2c8a2d765c1abcfc27cecf0960b7a7ef73eabf48974050b0f29e87ef7c190a110c1efc291111e9543606855de68355388
DIST kakoune-2022.10.31.tar.bz2 556473 BLAKE2B 36489de5e4fa4406a847f43bf0f966c082e5c4a97e3c31d04c61fb8c4137fed4b6d1ce96ac921a85dc03fe7b90d8de172b6720ac32846507a3d0c996fe01191c SHA512 9a02a1a6bbb0b71a579b0286b4dfb6359b856183862b3e17354d2685b8215fa24c196b570a21dfd627e3d5a5b91e20ce0b74caff19e5772ab911cc42677bf720
-EBUILD kakoune-2022.10.31.ebuild 769 BLAKE2B a0ab51637696a5ee9c0bec3427766866b3e51274acada61ccf5f9d49fa183d59977decb242bdb262aa91378ce0b7dad634c8f180271f1bb77ec94c2db4dbe0ef SHA512 6675ff7a2549b54908cdb4a50d5fa4c97c92aaa738cb1e9f86f492e31074b3f3da17d37c3efca273804a049be8a974646bcb0f88eb0002dfc37f927f8f8319c0
+EBUILD kakoune-2022.10.31.ebuild 814 BLAKE2B d4f6d3e2037bbb70c064a40c7be8fad2961fae0096c87f4351bd639d92b3acc3541948ece1a84689c70af73b02dbe1d3c98515fbb67e5b0c10eea05544adc084 SHA512 9cc5654d529c8cc0164952e1ac3914116114205f00a777d189473192f409f839b6ca627f0b67b279f1537a6f1d28420855cc5fda4cb67c3b4276270f21533ca8
MISC metadata.xml 512 BLAKE2B afa8631f092bca6c3307dcd610340b39e41da979781f0f1ac391e873ae063088599cfc96c99bc81cca0c1244905ced51e3736b1fc387d0d9fdb8233be2810427 SHA512 a7e4da11480bc3f8bd09253901d9528235ce9a4f00a418cd5f58c898244850cafe944d6a828e1b871a2d98faba179fd9f4ddab99695a6762a4a7a290f1311a2f
diff --git a/app-editors/kakoune/files/kakoune-2022.10.31-gcc13.patch b/app-editors/kakoune/files/kakoune-2022.10.31-gcc13.patch
new file mode 100644
index 000000000000..6c093bcdb2eb
--- /dev/null
+++ b/app-editors/kakoune/files/kakoune-2022.10.31-gcc13.patch
@@ -0,0 +1,29 @@
+https://bugs.gentoo.org/895264
+https://github.com/mawww/kakoune/issues/4854
+
+diff --git a/src/keys.hh b/src/keys.hh
+index 0af1a5a8..ccafe336 100644
+--- a/src/keys.hh
++++ b/src/keys.hh
+@@ -9,6 +9,8 @@
+ #include "unicode.hh"
+ #include "vector.hh"
+
++#include <cstdint>
++
+ namespace Kakoune
+ {
+
+diff --git a/src/ranked_match.hh b/src/ranked_match.hh
+index ec7fe626..62d6b8f0 100644
+--- a/src/ranked_match.hh
++++ b/src/ranked_match.hh
+@@ -4,6 +4,8 @@
+ #include "string.hh"
+ #include "meta.hh"
+
++#include <cstdint>
++
+ namespace Kakoune
+ {
+
diff --git a/app-editors/kakoune/kakoune-2022.10.31.ebuild b/app-editors/kakoune/kakoune-2022.10.31.ebuild
index 2e6ad9d352ed..9293c946c84a 100644
--- a/app-editors/kakoune/kakoune-2022.10.31.ebuild
+++ b/app-editors/kakoune/kakoune-2022.10.31.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,6 +15,10 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
BDEPEND="virtual/pkgconfig"
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc13.patch
+)
+
src_prepare() {
sed -i '/CXXFLAGS += -O3/d' src/Makefile || die
default