diff options
author | Sam James <sam@gentoo.org> | 2023-01-30 03:34:38 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-30 03:34:38 +0000 |
commit | 9392d038b7d2ae6ff15b75694e30920d65e4bf48 (patch) | |
tree | 581e982ef47e7451341a7a36fe131a4cd647bfff /sci-electronics/kicad | |
parent | net-analyzer/sslsplit: Keyword 0.5.5 arm64, #892545 (diff) | |
download | gentoo-9392d038b7d2ae6ff15b75694e30920d65e4bf48.tar.gz gentoo-9392d038b7d2ae6ff15b75694e30920d65e4bf48.tar.bz2 gentoo-9392d038b7d2ae6ff15b75694e30920d65e4bf48.zip |
sci-electronics/kicad: fix build w/ gcc 13
Closes: https://bugs.gentoo.org/892499
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-electronics/kicad')
-rw-r--r-- | sci-electronics/kicad/files/kicad-6.0.9-gcc-13.patch | 30 | ||||
-rw-r--r-- | sci-electronics/kicad/kicad-6.0.9.ebuild | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/sci-electronics/kicad/files/kicad-6.0.9-gcc-13.patch b/sci-electronics/kicad/files/kicad-6.0.9-gcc-13.patch new file mode 100644 index 000000000000..f1047cb9dee5 --- /dev/null +++ b/sci-electronics/kicad/files/kicad-6.0.9-gcc-13.patch @@ -0,0 +1,30 @@ +https://bugs.gentoo.org/892499 +https://gitlab.com/kicad/code/kicad/-/commit/8c324f1fc8f7fcdb5e8f494da3d45997001fab4a + +From 8c324f1fc8f7fcdb5e8f494da3d45997001fab4a Mon Sep 17 00:00:00 2001 +From: jean-pierre charras <jp.charras@wanadoo.fr> +Date: Tue, 20 Dec 2022 12:46:19 +0100 +Subject: [PATCH] Fix a missing include. Fixes #13216 + https://gitlab.com/kicad/code/kicad/issues/13216 + +--- a/pcb_calculator/eserie.h ++++ b/pcb_calculator/eserie.h +@@ -2,7 +2,7 @@ + * This program source code file is part of KiCad, a free EDA CAD application. + * + * Copyright (C) 2020 <janvi@veith.net> +- * Copyright (C) 2020-2021 KiCad Developers, see AUTHORS.txt for contributors. ++ * Copyright (C) 2020-2022 KiCad Developers, see AUTHORS.txt for contributors. + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the +@@ -21,6 +21,7 @@ + #include <array> + #include <vector> + #include <string> ++#include <cstdint> + + /** + * E-Values derived from a geometric sequence formula by Charles Renard were already +-- +GitLab diff --git a/sci-electronics/kicad/kicad-6.0.9.ebuild b/sci-electronics/kicad/kicad-6.0.9.ebuild index 482f0ade6d2d..66c09b766366 100644 --- a/sci-electronics/kicad/kicad-6.0.9.ebuild +++ b/sci-electronics/kicad/kicad-6.0.9.ebuild @@ -77,6 +77,7 @@ CHECKREQS_DISK_BUILD="900M" PATCHES=( "${FILESDIR}/${PN}-scripts-install-fix.patch" "${FILESDIR}/${PN}-6.0.6-unitialized-variable-fix.patch" + "${FILESDIR}/${PN}-6.0.9-gcc-13.patch" ) pkg_setup() { |