Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723302 - media-libs/vigra-1.11.1-r3 breaks consumers that use C++17 (PATCH)
Summary: media-libs/vigra-1.11.1-r3 breaks consumers that use C++17 (PATCH)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL: https://github.com/ukoethe/vigra/comm...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 723306
  Show dependency tree
 
Reported: 2020-05-15 22:54 UTC by Victor Mataré
Modified: 2020-09-25 07:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Mataré 2020-05-15 22:54:35 UTC
include/vigra/separableconvolution.hxx has throw(PreconditionViolation), which is illegal C++17. It has been fixed upstream, but no release has been made, yet:

https://github.com/ukoethe/vigra/commit/dc730be49fc8def4304a651fa525e43b7754955e

This affects e.g. media-gfx/enblend and indirectly media-gfx/digikam.

The patch can be applied as-is:

https://github.com/ukoethe/vigra/commit/dc730be49fc8def4304a651fa525e43b7754955e.patch

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-07-10 21:23:56 UTC
The bug has been closed via the following commit(s):

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

commit a739a2ed97dfedfd922da007b645ad2851cbfa3c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-07-10 20:51:52 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-07-10 21:23:44 +0000

    media-libs/vigra: Fix build with GCC-10
    
    Thanks-to: Victor Mataré <matare@fh-aachen.de>
    Closes: https://bugs.gentoo.org/723302
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/vigra/files/vigra-1.11.1-gcc-10.patch | 46 ++++++++++++++++++++++++
 media-libs/vigra/vigra-1.11.1-r3.ebuild          |  1 +
 2 files changed, 47 insertions(+)