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: dev-libs/pocl/, dev-libs/pocl/files/
Date: Sun, 16 Feb 2025 13:02:51 +0000 (UTC)	[thread overview]
Message-ID: <1739710919.0ce052001c1ee0ab5b68d5b5caf584c0750643f7.sam@gentoo> (raw)

commit:     0ce052001c1ee0ab5b68d5b5caf584c0750643f7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 13:01:59 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 13:01:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ce05200

dev-libs/pocl: fix build w/ gcc-15

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

 dev-libs/pocl/files/pocl-6.0-gcc15.patch | 27 +++++++++++++++++++++++++++
 dev-libs/pocl/pocl-6.0.ebuild            |  6 +++++-
 2 files changed, 32 insertions(+), 1 deletion(-)

diff --git a/dev-libs/pocl/files/pocl-6.0-gcc15.patch b/dev-libs/pocl/files/pocl-6.0-gcc15.patch
new file mode 100644
index 000000000000..6176e54bfecc
--- /dev/null
+++ b/dev-libs/pocl/files/pocl-6.0-gcc15.patch
@@ -0,0 +1,27 @@
+https://github.com/pocl/pocl/commit/3333cbc6a16fba0bc3f3c66ba6e68ce9bb46c549
+
+From 3333cbc6a16fba0bc3f3c66ba6e68ce9bb46c549 Mon Sep 17 00:00:00 2001
+From: Vitaly <vitaly@easycoding.org>
+Date: Mon, 27 Jan 2025 09:52:47 +0100
+Subject: [PATCH] Added missing cstdint header to fix build with libstdc++ 15.
+
+--- a/lib/CL/devices/spirv_parser.cc
++++ b/lib/CL/devices/spirv_parser.cc
+@@ -25,6 +25,7 @@
+ 
+ #include <algorithm>
+ #include <cassert>
++#include <cstdint>
+ #include <cstring>
+ #include <fstream>
+ #include <iostream>
+--- a/lib/CL/devices/spirv_parser.hh
++++ b/lib/CL/devices/spirv_parser.hh
+@@ -34,6 +34,7 @@
+ #define SPIRV_PARSER_EXPORT POCL_EXPORT
+ #endif
+ 
++#include <cstdint>
+ #include <map>
+ #include <memory>
+ #include <set>

diff --git a/dev-libs/pocl/pocl-6.0.ebuild b/dev-libs/pocl/pocl-6.0.ebuild
index 4141b49feb9a..f2d1f5c8bc9f 100644
--- a/dev-libs/pocl/pocl-6.0.ebuild
+++ b/dev-libs/pocl/pocl-6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -44,6 +44,10 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+PATCHES=(
+	"${FILESDIR}"/${P}-gcc15.patch
+)
+
 src_prepare() {
 	use cuda && cuda_src_prepare
 	cmake_src_prepare


             reply	other threads:[~2025-02-16 13:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-16 13:02 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-16 13:02 [gentoo-commits] repo/gentoo:master commit in: dev-libs/pocl/, dev-libs/pocl/files/ Sam James
2024-07-08 11:39 Sam James
2023-11-25  8:54 Sam James
2023-04-18  6:51 Sam James
2021-09-22 22:31 Sam James

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=1739710919.0ce052001c1ee0ab5b68d5b5caf584c0750643f7.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