Created attachment 451822 [details] thin-provisioning-tools-0.6.3.ebuild 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] thin-provisioning-tools-0.6.3-build-fixes.patch The patch that removes gnu++98 hard coding and fixes the build issues properly.
commit a121971a2a828064776d338ed771bdfc5b852052 Author: Justin Lecher <jlec@gentoo.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 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=598424 Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a121971a2a828064776d338ed771bdfc5b852052
*** Bug 582686 has been marked as a duplicate of this bug. ***