Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/kicad/, sci-electronics/kicad/files/
Date: Mon, 30 Jan 2023 04:01:31
Message-Id: 1675049678.9392d038b7d2ae6ff15b75694e30920d65e4bf48.sam@gentoo
1 commit: 9392d038b7d2ae6ff15b75694e30920d65e4bf48
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 03:34:38 2023 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 03:34:38 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9392d038
7
8 sci-electronics/kicad: fix build w/ gcc 13
9
10 Closes: https://bugs.gentoo.org/892499
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../kicad/files/kicad-6.0.9-gcc-13.patch | 30 ++++++++++++++++++++++
14 sci-electronics/kicad/kicad-6.0.9.ebuild | 1 +
15 2 files changed, 31 insertions(+)
16
17 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
18 new file mode 100644
19 index 000000000000..f1047cb9dee5
20 --- /dev/null
21 +++ b/sci-electronics/kicad/files/kicad-6.0.9-gcc-13.patch
22 @@ -0,0 +1,30 @@
23 +https://bugs.gentoo.org/892499
24 +https://gitlab.com/kicad/code/kicad/-/commit/8c324f1fc8f7fcdb5e8f494da3d45997001fab4a
25 +
26 +From 8c324f1fc8f7fcdb5e8f494da3d45997001fab4a Mon Sep 17 00:00:00 2001
27 +From: jean-pierre charras <jp.charras@×××××××.fr>
28 +Date: Tue, 20 Dec 2022 12:46:19 +0100
29 +Subject: [PATCH] Fix a missing include. Fixes #13216
30 + https://gitlab.com/kicad/code/kicad/issues/13216
31 +
32 +--- a/pcb_calculator/eserie.h
33 ++++ b/pcb_calculator/eserie.h
34 +@@ -2,7 +2,7 @@
35 + * This program source code file is part of KiCad, a free EDA CAD application.
36 + *
37 + * Copyright (C) 2020 <janvi@×××××.net>
38 +- * Copyright (C) 2020-2021 KiCad Developers, see AUTHORS.txt for contributors.
39 ++ * Copyright (C) 2020-2022 KiCad Developers, see AUTHORS.txt for contributors.
40 + *
41 + * This program is free software: you can redistribute it and/or modify it
42 + * under the terms of the GNU General Public License as published by the
43 +@@ -21,6 +21,7 @@
44 + #include <array>
45 + #include <vector>
46 + #include <string>
47 ++#include <cstdint>
48 +
49 + /**
50 + * E-Values derived from a geometric sequence formula by Charles Renard were already
51 +--
52 +GitLab
53
54 diff --git a/sci-electronics/kicad/kicad-6.0.9.ebuild b/sci-electronics/kicad/kicad-6.0.9.ebuild
55 index 482f0ade6d2d..66c09b766366 100644
56 --- a/sci-electronics/kicad/kicad-6.0.9.ebuild
57 +++ b/sci-electronics/kicad/kicad-6.0.9.ebuild
58 @@ -77,6 +77,7 @@ CHECKREQS_DISK_BUILD="900M"
59 PATCHES=(
60 "${FILESDIR}/${PN}-scripts-install-fix.patch"
61 "${FILESDIR}/${PN}-6.0.6-unitialized-variable-fix.patch"
62 + "${FILESDIR}/${PN}-6.0.9-gcc-13.patch"
63 )
64
65 pkg_setup() {