public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/kicad/, sci-electronics/kicad/files/
Date: Thu, 15 Aug 2024 20:15:14 +0000 (UTC)	[thread overview]
Message-ID: <1723752872.e944a08d87d20f6459a69e4658f43f30bf1ce899.sam@gentoo> (raw)

commit:     e944a08d87d20f6459a69e4658f43f30bf1ce899
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 15 20:14:32 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 15 20:14:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e944a08d

sci-electronics/kicad: fix build w/ gcc-15

Closes: https://bugs.gentoo.org/937872
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../kicad/files/kicad-8.0.3-gcc15-cstdint.patch    | 25 ++++++++++++++++++++++
 sci-electronics/kicad/kicad-8.0.3.ebuild           |  6 +++++-
 2 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/sci-electronics/kicad/files/kicad-8.0.3-gcc15-cstdint.patch b/sci-electronics/kicad/files/kicad-8.0.3-gcc15-cstdint.patch
new file mode 100644
index 000000000000..26fb3dd20c25
--- /dev/null
+++ b/sci-electronics/kicad/files/kicad-8.0.3-gcc15-cstdint.patch
@@ -0,0 +1,25 @@
+https://bugs.gentoo.org/937872
+https://gitlab.com/kicad/code/kicad/-/issues/18539
+https://gitlab.com/kicad/code/kicad/-/commit/0bf2d2ca32495dd40826a107e1be428a8e566a70
+
+From 0bf2d2ca32495dd40826a107e1be428a8e566a70 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Kacper=20S=C5=82omi=C5=84ski?=
+ <kacper.slominski72@gmail.com>
+Date: Tue, 13 Aug 2024 13:41:35 -0400
+Subject: [PATCH] Fix build issue with experimental GCC version 15.
+
+Fixes https://gitlab.com/kicad/code/kicad/-/issues/18539
+
+(cherry picked from commit e6bcc6d0a6a231f15326df0f0a2971c7aff8a384)
+--- a/include/kicad_curl/kicad_curl_easy.h
++++ b/include/kicad_curl/kicad_curl_easy.h
+@@ -38,6 +38,7 @@
+ #include <memory>
+ #include <ostream>
+ #include <string>
++#include <cstdint>
+ 
+ typedef void CURL;
+ struct curl_slist;
+-- 
+GitLab

diff --git a/sci-electronics/kicad/kicad-8.0.3.ebuild b/sci-electronics/kicad/kicad-8.0.3.ebuild
index 71443e470a09..3f805f18b507 100644
--- a/sci-electronics/kicad/kicad-8.0.3.ebuild
+++ b/sci-electronics/kicad/kicad-8.0.3.ebuild
@@ -80,11 +80,15 @@ fi
 
 CHECKREQS_DISK_BUILD="1500M"
 
+PATCHES=(
+	"${FILESDIR}"/${PN}-8.0.3-gcc15-cstdint.patch
+)
+
 pkg_setup() {
 	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 
 	python-single-r1_pkg_setup
-	setup-wxwidgets
+	#setup-wxwidgets
 	check-reqs_pkg_setup
 }
 


             reply	other threads:[~2024-08-15 20:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-15 20:15 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-27 11:41 [gentoo-commits] repo/gentoo:master commit in: sci-electronics/kicad/, sci-electronics/kicad/files/ Yixun Lan
2023-07-18 19:15 Sam James
2023-02-18 10:46 Matthew Smith
2023-01-30  4:01 Sam James
2022-06-21 20:44 Sam James
2020-09-25 20:22 Michał Górny
2020-06-06 17:47 Alexey Shvetsov
2020-05-14 10:36 Alexey Shvetsov
2019-12-17 18:14 Joonas Niilola
2019-08-03  9:28 Alexey Shvetsov
2019-04-07 16:53 Alexey Shvetsov
2019-01-02 16:51 Amy Liffey
2018-09-27 13:37 Virgil Dupras
2018-09-07 12:03 Virgil Dupras
2016-04-13  7:29 Ian Delaney
2015-11-01  4:23 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1723752872.e944a08d87d20f6459a69e4658f43f30bf1ce899.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox