Add missing <cstddef>. Fix use of iterator vs const_iterator.
Explicitly use custom copy_if, it also exists in C++11 implementations.
Support C++11 STL implementations.
Use real prototype for main.
Restore part of patch-sa to get correct syntax for in/out.
Rename SVR4_PKGNAME from p5tva to p5tv to avoid collision with
textproc/p5-Text-vFile-asData's.  (Apparently not causing much grief in
the world, as the latter is a direct dependency.)