summaryrefslogtreecommitdiff
path: root/sci-electronics/kicad/files/kicad-6.0.9-gcc-13.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/kicad/files/kicad-6.0.9-gcc-13.patch')
-rw-r--r--sci-electronics/kicad/files/kicad-6.0.9-gcc-13.patch30
1 files changed, 30 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