diff options
author | Sam James <sam@gentoo.org> | 2023-04-18 08:14:59 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-18 08:15:48 +0100 |
commit | df018b4e4c6a9598a9060668270d503e6405a473 (patch) | |
tree | b77daa84211133e5dae8f53d293f77db2afa7e03 /app-admin/clog | |
parent | dev-util/nvidia-cuda-toolkit: remove all rdma libs when USE=-rdma (diff) | |
download | gentoo-df018b4e4c6a9598a9060668270d503e6405a473.tar.gz gentoo-df018b4e4c6a9598a9060668270d503e6405a473.tar.bz2 gentoo-df018b4e4c6a9598a9060668270d503e6405a473.zip |
app-admin/clog: fix build w/ gcc 13
Closes: https://bugs.gentoo.org/895122
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/clog')
-rw-r--r-- | app-admin/clog/clog-1.3.0-r1.ebuild | 9 | ||||
-rw-r--r-- | app-admin/clog/files/clog-1.3.0-gcc13.patch | 11 |
2 files changed, 17 insertions, 3 deletions
diff --git a/app-admin/clog/clog-1.3.0-r1.ebuild b/app-admin/clog/clog-1.3.0-r1.ebuild index cf737f78194c..cc6689579c1b 100644 --- a/app-admin/clog/clog-1.3.0-r1.ebuild +++ b/app-admin/clog/clog-1.3.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,13 +9,16 @@ DESCRIPTION="clog is a colorized log tail utility" HOMEPAGE="https://taskwarrior.org/docs/clog/" SRC_URI="https://gothenburgbitfactory.org/download/${P}.tar.gz" -KEYWORDS="~amd64 ~x86 ~x64-macos" LICENSE="MIT" SLOT="0" +KEYWORDS="~amd64 ~x86 ~x64-macos" RESTRICT="test" # No test suite on tar.gz +PATCHES=( + "${FILESDIR}"/${PN}-1.3.0-gcc13.patch +) + src_prepare() { - default sed -i -e 's|share/doc/clog|share/clog|' CMakeLists.txt || die cmake_src_prepare } diff --git a/app-admin/clog/files/clog-1.3.0-gcc13.patch b/app-admin/clog/files/clog-1.3.0-gcc13.patch new file mode 100644 index 000000000000..3bdbc464a90e --- /dev/null +++ b/app-admin/clog/files/clog-1.3.0-gcc13.patch @@ -0,0 +1,11 @@ +https://github.com/GothenburgBitFactory/libshared/pull/71 +--- a/src/libshared/src/JSON2.h ++++ b/src/libshared/src/JSON2.h +@@ -27,6 +27,7 @@ + #ifndef INCLUDED_JSON2 + #define INCLUDED_JSON2 + ++#include <cstdint> + #include <string> + + class JSON2 |