Apply the Gentoo patchset

Gentoo ebuild: dev-tcltk/tclreadline-2.1.0-r4

Fully applied patches:
* direct sed patches from the ebuild
* tclreadline-2.1.0-gold.patch
* tclreadline-2.1.0-rl-executing-macro.patch
* tclreadline-2.1.0-rl-history-expand.patch
* tclreadline-2.1.0-rl-prompt.patch

Partially applied patches:
* tclreadline-2.1.0-alloc-free.patch