Tested ebuild in attachement. Also sent similar patch to upstream.
Created attachment 461620 [details, diff] ffmpeg-3.2.2.ebuild.patch
Created attachment 461622 [details, diff] ffmpeg-3.2.2-libressl.patch
still same issue *** This bug has been marked as a duplicate of bug 569818 ***