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

Bug 724988

Summary: media-gfx/enblend-4.2.0_p20161007 fails with GCC10:minimizer.cc:29:53: error: ‘numeric_limits’ is not a member of ‘std’
Product: Gentoo Linux Reporter: Walter Hüttenmeyer <walter.huettenmeyer>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED DUPLICATE    
Severity: normal CC: b.buschinski, graphics+disabled, jstein, maekke, wdiazux
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceforge.net/p/enblend/discussion/420370/thread/7af6ceae0d/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: include <limits> to make GCC10 happy

Description Walter Hüttenmeyer 2020-05-24 11:22:49 UTC
Created attachment 641372 [details, diff]
include <limits> to make GCC10 happy

First error message is: /var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r1/work/enblend-4.2.0_p20161007/src/minimizer.cc: In constructor ‘Minimizer::Minimizer(size_t)’:
/var/tmp/portage/media-gfx/enblend-4.2.0_p20161007-r1/work/enblend-4.2.0_p20161007/src/minimizer.cc:29:53: error: ‘numeric_limits’ is not a member of ‘std’

This can be fixed by including <limits> to minimizer.cc

A patch is attached, the relevant forum entry is here:https://forums.gentoo.org/viewtopic-p-8461786.html#8461786

A patch is attached.
Comment 1 Andreas Sturmlechner gentoo-dev 2020-05-24 11:29:53 UTC
If this patch is coming from upstream, please include the full commit header. If it isn't, please submit it upstream.
Comment 2 Walter Hüttenmeyer 2020-05-24 11:44:17 UTC
(In reply to Andreas Sturmlechner from comment #1)
> If this patch is coming from upstream, please include the full commit
> header. If it isn't, please submit it upstream.
I haven't seen that in upstream yet, could you or anyone with a sourceforge account submit this piece upstream?
I could not find any contact without prior registration and don't have a sourceforge account.
Comment 3 Jonas Stein gentoo-dev 2020-05-24 12:04:00 UTC
sent note to upstream: https://sourceforge.net/p/enblend/discussion/420370/thread/7af6ceae0d/
Comment 4 Walter Hüttenmeyer 2020-05-24 14:22:57 UTC
Thank you!
Comment 5 Andreas Sturmlechner gentoo-dev 2020-07-10 21:16:47 UTC

*** This bug has been marked as a duplicate of bug 723306 ***