public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/tweedledum/, dev-python/tweedledum/files/
@ 2023-02-18 10:21 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2023-02-18 10:21 UTC (permalink / raw
  To: gentoo-commits

commit:     631ac5462892ac1cb47d3d7e91b0a6437454fa35
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 18 08:24:38 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 10:20:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=631ac546

dev-python/tweedledum: fix build w/ gcc 13

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

 .../tweedledum/files/tweedledum-1.1.1-gcc-13.patch  | 21 +++++++++++++++++++++
 dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild    |  1 +
 2 files changed, 22 insertions(+)

diff --git a/dev-python/tweedledum/files/tweedledum-1.1.1-gcc-13.patch b/dev-python/tweedledum/files/tweedledum-1.1.1-gcc-13.patch
new file mode 100644
index 000000000000..64a171c50b46
--- /dev/null
+++ b/dev-python/tweedledum/files/tweedledum-1.1.1-gcc-13.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/895130
+--- a/external/pybind11/include/pybind11/attr.h
++++ b/external/pybind11/include/pybind11/attr.h
+@@ -10,6 +10,7 @@
+ 
+ #pragma once
+ 
++#include <cstdint>
+ #include "cast.h"
+ 
+ PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE)
+--- a/include/tweedledum/IR/Cbit.h
++++ b/include/tweedledum/IR/Cbit.h
+@@ -5,6 +5,7 @@
+ #pragma once
+ 
+ #include <cassert>
++#include <cstdint>
+ #include <limits>
+ #include <string>
+ #include <vector>

diff --git a/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild b/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild
index b9c644ccb3bb..77026b12bc5a 100644
--- a/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild
+++ b/dev-python/tweedledum/tweedledum-1.1.1-r1.ebuild
@@ -31,6 +31,7 @@ BDEPEND=">=dev-python/scikit-build-0.12.0"
 
 PATCHES=(
 	"${DISTDIR}"/${P}-fmt-e73beb23a3feeba02a851e3f8131e3c85a29de2b.patch
+	"${FILESDIR}"/${PN}-1.1.1-gcc-13.patch
 )
 
 distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-18 10:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-18 10:21 [gentoo-commits] repo/gentoo:master commit in: dev-python/tweedledum/, dev-python/tweedledum/files/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox