Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724988 - media-gfx/enblend-4.2.0_p20161007 fails with GCC10:minimizer.cc:29:53: error: ‘numeric_limits’ is not a member of ‘std’
Summary: media-gfx/enblend-4.2.0_p20161007 fails with GCC10:minimizer.cc:29:53: error:...
Status: RESOLVED DUPLICATE of bug 723306
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: https://sourceforge.net/p/enblend/dis...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-05-24 11:22 UTC by Walter Hüttenmeyer
Modified: 2020-07-10 21:16 UTC (History)
5 users (show)

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


Attachments
include <limits> to make GCC10 happy (enblend-gcc10.patch,265 bytes, patch)
2020-05-24 11:22 UTC, Walter Hüttenmeyer
Details | Diff

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