sox: import from oldpackages, patches to build with newer ffmpeg versions

Signed-off-by: Ted Hess <thess@kitschensync.net>