Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 933216

Summary: media-gfx/inkscape-1.3.2-r2: error: expected ‘)’ before ‘default_value’
Product: Gentoo Linux Reporter: Sven Hesse <drmccoy>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal CC: bugs.gentoo.org, chris, drmccoy, torsi, xdudka00
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
Environment
Emerge info
Patch that fixes compilation

Description Sven Hesse 2024-05-30 22:54:36 UTC
inkscape 1.3.2-r2 fails to compile (in C++20 mode, I guess), due to template parameters in a constructor.

Attaching a user patch that fixes the compilation.

Reproducible: Always
Comment 1 Sven Hesse 2024-05-30 22:54:56 UTC
Created attachment 894677 [details]
Build log
Comment 2 Sven Hesse 2024-05-30 22:55:31 UTC
Created attachment 894678 [details]
Environment
Comment 3 Sven Hesse 2024-05-30 22:55:45 UTC
Created attachment 894679 [details]
Emerge info
Comment 4 Sven Hesse 2024-05-30 22:56:03 UTC
Created attachment 894680 [details, diff]
Patch that fixes compilation
Comment 5 Justin Keogh 2024-05-31 07:13:02 UTC
Thanks Sven, this patch works for me.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-31 15:02:52 UTC
*** Bug 933266 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2024-05-31 16:08:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aa7b6faf4fa13a1b77b18198ffa62f3fbd8a51f

commit 5aa7b6faf4fa13a1b77b18198ffa62f3fbd8a51f
Author:     Sven Hesse <drmccoy@drmccoy.de>
AuthorDate: 2024-05-31 16:07:59 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2024-05-31 16:07:59 +0000

    media-gfx/inkscape: add patch for C++20 syntax break
    
    Closes: https://bugs.gentoo.org/933216
    Signed-off-by: David Seifert <soap@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(+)
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-31 21:28:59 UTC
*** Bug 933283 has been marked as a duplicate of this bug. ***