diff options
Diffstat (limited to 'dev-libs/capnproto')
-rw-r--r-- | dev-libs/capnproto/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/capnproto/capnproto-0.10.2.ebuild | 6 | ||||
-rw-r--r-- | dev-libs/capnproto/files/capnproto-0.10.2-gcc-13.patch | 21 |
3 files changed, 28 insertions, 2 deletions
diff --git a/dev-libs/capnproto/Manifest b/dev-libs/capnproto/Manifest index 5c8a26706394..edef8f8422e7 100644 --- a/dev-libs/capnproto/Manifest +++ b/dev-libs/capnproto/Manifest @@ -1,5 +1,6 @@ +AUX capnproto-0.10.2-gcc-13.patch 675 BLAKE2B 52dc508a80fd30c243d7f3c98cf908eacc6c0f8c4efff0d4a77999dc9d8dc5ab639a6abb1fe504b5ad461a0e023a9af8b520bc7784e570b03665bf9404967abc SHA512 9229ffa3b8b47b0c1437d63ed5f8967cbbaa07e3cc0ee9e2012c7b5bcf87fc278e7bbf4324d2d76a24a98f6d6219b09640c45ca5d76a1f7338d6938bde70f723 DIST capnproto-0.10.2.tar.gz 2279393 BLAKE2B d78442bc122bc976fb636dfde694e10414bf3468ead903fac7ba59cbd81a49ce94969954fdc90f92f7f58f0af80f2da1f70de9b461d99fc6ae9a9e7aa9cd0500 SHA512 079ab715ea19ac207f72bb4874ab6362c11dfb9128342ec937e3f4d27e4100530cf9e6a0275eaca1e45a1bb706b65179a526ea8cfceba93bb36cd6c4f1c0cf5b DIST capnproto-0.9.1.tar.gz 2238849 BLAKE2B f8de56c7f79b0ddad35f3e8fec7740510ca2328e4ddc633a71420901d3fc44df44d807c3965213dfc2535bbe03832c5164242d33cd0bff901d6f288fb62bab21 SHA512 bdc5960f26214139744d768ca4558b085e2d359c375a8849ca532a4c458a2daf0ee1a1f4d00745de5abf353aa1e4084a2d85e5523006f23f591f21fac2d847fd -EBUILD capnproto-0.10.2.ebuild 994 BLAKE2B 966ee6540418547657ae3459ff15a3297b9933f74115d4c110e60772f8d87639c5f63cdb44e94abb3e0db0565f079a5cfe0bea75e3647fb31f4f9d9dd1264bd4 SHA512 99e646634352d45de70a51d8789744796d2694856baccb1a83b537ddc52709dd00794f9856bb851809554f3b87b840ce8c14ab299fe89784ca64be7657596c11 +EBUILD capnproto-0.10.2.ebuild 1040 BLAKE2B 947227d338687a593c3e5f039ad0f353508aa56e6343ece186fcb574d90c6ffe06391eabc0f07c746c86c6f14c9f6165c8417707d520c6d5fa3effd29d7c6a4e SHA512 28d1362f934eeedeb8a3110ec68426122a085aced8f6fa30e280978e875953452686257d1e5117157ff060ca9b8430398bf6f9912f0148ef894e3855f41cd5a4 EBUILD capnproto-0.9.1.ebuild 982 BLAKE2B 14fecab4dff6be5e7b42222cecd47664a85c45058d810c578c3d093b7c7b6cc61d9ce72ca1aae7995ea7b729f202daa17a46303c4062e06eee81b41029e8c631 SHA512 1db279715ff228a167b8e8f5d87a5f77e0d5d2c1855a72f0c522792ed2e34dec52c11a97e9cdbe58741e87c30faa5954cc0f80b5d2887113aac6260edee22a18 MISC metadata.xml 347 BLAKE2B 36c92aa137b803a5b0804f7684ecd55e13733f506000bed2fa306267b87922255486124dffe336822554c8644e2b2b34cfa13a5456a0f69f0e5b0e4136a1ce95 SHA512 af4c39c709263a8d5a3849a057475cebd9c7bac0228d599c28d0d9298c1c0d06a744f5999198217ee9248ed0318f95d376fb1802afe766082d18606f4776be57 diff --git a/dev-libs/capnproto/capnproto-0.10.2.ebuild b/dev-libs/capnproto/capnproto-0.10.2.ebuild index 85fd8fe94d06..2c126974f18a 100644 --- a/dev-libs/capnproto/capnproto-0.10.2.ebuild +++ b/dev-libs/capnproto/capnproto-0.10.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,6 +25,10 @@ DEPEND="${RDEPEND} test? ( dev-cpp/gtest ) " +PATCHES=( + "${FILESDIR}"/${P}-gcc-13.patch +) + src_configure() { if use arm || use ppc || use mips || [[ ${CHOST} == *i486* ]] ; then # append-libs won't work here, cmake doesn't respect it diff --git a/dev-libs/capnproto/files/capnproto-0.10.2-gcc-13.patch b/dev-libs/capnproto/files/capnproto-0.10.2-gcc-13.patch new file mode 100644 index 000000000000..576e785437da --- /dev/null +++ b/dev-libs/capnproto/files/capnproto-0.10.2-gcc-13.patch @@ -0,0 +1,21 @@ +https://github.com/capnproto/capnproto/commit/1ae1e9990c7603f0dc99e64470f96693f869b00a + +From 1ae1e9990c7603f0dc99e64470f96693f869b00a Mon Sep 17 00:00:00 2001 +From: Heiko Becker <mail@heiko-becker.de> +Date: Wed, 25 Jan 2023 23:40:27 +0100 +Subject: [PATCH] Fix build with gcc 13 by including <stdint.h> (#1613) + +Like other versions before, gcc 13 moved some includes around and as +a result <stdint.h> is no longer transitively included. Explicitly +include it for uint8_t. +--- a/src/kj/string-test.c++ ++++ b/src/kj/string-test.c++ +@@ -24,6 +24,7 @@ + #include <string> + #include "vector.h" + #include <locale.h> ++#include <stdint.h> + + namespace kj { + namespace _ { // private + |