Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933216 - media-gfx/inkscape-1.3.2-r2: error: expected ‘)’ before ‘default_value’
Summary: media-gfx/inkscape-1.3.2-r2: error: expected ‘)’ before ‘default_value’
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: PATCH
: 933266 933283 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-05-30 22:54 UTC by Sven Hesse
Modified: 2024-05-31 21:28 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log.gz,91.54 KB, application/gzip)
2024-05-30 22:54 UTC, Sven Hesse
Details
Environment (environment,7.90 KB, text/plain)
2024-05-30 22:55 UTC, Sven Hesse
Details
Emerge info (emerge_info.txt,7.90 KB, text/plain)
2024-05-30 22:55 UTC, Sven Hesse
Details
Patch that fixes compilation (0001-fix-compilation.patch,783 bytes, patch)
2024-05-30 22:56 UTC, Sven Hesse
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***