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

Bug 723302

Summary: media-libs/vigra-1.11.1-r3 breaks consumers that use C++17 (PATCH)
Product: Gentoo Linux Reporter: Victor Mataré <vmatare+gbug>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/ukoethe/vigra/commit/dc730be49fc8def4304a651fa525e43b7754955e
See Also: https://bugs.gentoo.org/show_bug.cgi?id=706426
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 723306    

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(+)