Created attachment 451822 [details]
Upstream decided to hard code -std=gnu++98 compile flag instead of fixing the underlying issues. I made a patch that removes that hard coding and fixes the issues that caused the compile failures. I'll submit the the patch upstream later. It's now set to use compiler default -- probably could make it use -std=c++14 for consistency. That line of the patch can be changed if you want.
I removed the sed lines to put them in the build fixes patch.
Updated to EAPI 6.
I can create a Pull Request if you want.
Created attachment 451824 [details, diff]
The patch that removes gnu++98 hard coding and fixes the build issues properly.
Author: Justin Lecher <firstname.lastname@example.org>
Date: Wed Dec 28 10:45:36 2016 +0000
sys-block/thin-provisioning-tools: Version Bump and Fixes for gcc-6
Thanks Jon for the ebuild and patch
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher <email@example.com>
*** Bug 582686 has been marked as a duplicate of this bug. ***