From 2099ff9b640e648be67527e29760263a7c6274e5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 28 Apr 2023 05:11:40 +0100 Subject: gentoo auto-resync : 28:04:2023 - 05:11:40 --- .../opentoonz/files/opentoonz-1.6.0-gcc13.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 media-gfx/opentoonz/files/opentoonz-1.6.0-gcc13.patch (limited to 'media-gfx/opentoonz/files') diff --git a/media-gfx/opentoonz/files/opentoonz-1.6.0-gcc13.patch b/media-gfx/opentoonz/files/opentoonz-1.6.0-gcc13.patch new file mode 100644 index 000000000000..cd9f936f4a88 --- /dev/null +++ b/media-gfx/opentoonz/files/opentoonz-1.6.0-gcc13.patch @@ -0,0 +1,36 @@ +https://bugs.gentoo.org/899748 +https://github.com/opentoonz/opentoonz/issues/4738 +https://github.com/opentoonz/opentoonz/pull/4739 + +From d28d005d2a8fcb81461516a37e30526063aba448 Mon Sep 17 00:00:00 2001 +From: Grillo <11585030+grillo-delmal@users.noreply.github.com> +Date: Mon, 6 Feb 2023 20:48:32 -0300 +Subject: [PATCH] Clarify size_t origin for tgc::hash::BucketNode + +--- a/toonz/sources/include/tcg/hash.h ++++ b/toonz/sources/include/tcg/hash.h +@@ -21,6 +21,11 @@ class hash { + typedef T value_type; + typedef Hash_functor hash_type; + ++ struct BucketNode; ++ typedef typename tcg::list::size_t size_t; ++ typedef typename tcg::list::iterator iterator; ++ typedef typename tcg::list::const_iterator const_iterator; ++ + struct BucketNode { + K m_key; + T m_val; +@@ -34,11 +39,6 @@ class hash { + ~BucketNode() {} + }; + +- typedef typename tcg::list::size_t size_t; +- +- typedef typename tcg::list::iterator iterator; +- typedef typename tcg::list::const_iterator const_iterator; +- + private: + std::vector m_bucketsIdx; + tcg::list m_items; + -- cgit v1.2.3