commit:     5aa7b6faf4fa13a1b77b18198ffa62f3fbd8a51f
Author:     Sven Hesse <drmccoy <AT> drmccoy <DOT> de>
AuthorDate: Fri May 31 16:07:59 2024 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri May 31 16:07:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aa7b6fa

media-gfx/inkscape: add patch for C++20 syntax break

Closes: https://bugs.gentoo.org/933216
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-gfx/inkscape/files/inkscape-1.3.2-cxx20-2.patch | 11 +++++++++++
 media-gfx/inkscape/inkscape-1.3.2-r2.ebuild           |  1 +
 2 files changed, 12 insertions(+)

diff --git a/media-gfx/inkscape/files/inkscape-1.3.2-cxx20-2.patch 
b/media-gfx/inkscape/files/inkscape-1.3.2-cxx20-2.patch
new file mode 100644
index 000000000000..6364c3f88a9e
--- /dev/null
+++ b/media-gfx/inkscape/files/inkscape-1.3.2-cxx20-2.patch
@@ -0,0 +1,11 @@
+--- a/src/ui/dialog/filter-effects-dialog.cpp
++++ b/src/ui/dialog/filter-effects-dialog.cpp
+@@ -202,7 +202,7 @@
+ template< typename T> class ComboWithTooltip : public Gtk::EventBox
+ {
+ public:
+-    ComboWithTooltip<T>(T default_value, const Util::EnumDataConverter<T>& c, 
const SPAttr a = SPAttr::INVALID, char* tip_text = nullptr)
++    ComboWithTooltip(T default_value, const Util::EnumDataConverter<T>& c, 
const SPAttr a = SPAttr::INVALID, char* tip_text = nullptr)
+     {
+         if (tip_text) {
+             set_tooltip_text(tip_text);

diff --git a/media-gfx/inkscape/inkscape-1.3.2-r2.ebuild 
b/media-gfx/inkscape/inkscape-1.3.2-r2.ebuild
index 1304ff3969b1..a47b5b9d4390 100644
--- a/media-gfx/inkscape/inkscape-1.3.2-r2.ebuild
+++ b/media-gfx/inkscape/inkscape-1.3.2-r2.ebuild
@@ -114,6 +114,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-poppler-24.03.patch
        "${FILESDIR}"/${P}-poppler-24.05.patch # bug 931917
        "${FILESDIR}"/${P}-cxx20.patch # bug 931917
+       "${FILESDIR}"/${P}-cxx20-2.patch # bug 933216
 )
 
 pkg_pretend() {

Reply via email to