I was updating one of my boxens and ran into Bug 434686. In the bug Martin describes the simple way we as users can apply patches to packages that fail from bug fixes. This post is more than anything a reminder for me on how to do it. epatch_user has been blogged about before, dilfridge talks about it and says "A neat trick for testing patches in Gentoo (source-based distros are great!)".
As Martin explained in the bug and with the patch supplied by Liongene, here is how it works!
# mkdir -p /etc/portage/patches/net-print/cups-filters-1.0.24 # wget -O /etc/portage/patches/net-print/cups-filters-1.0.24/cups-filters-1.0.24-c++11.patch 'https://434686.bugs.gentoo.org/attachment.cgi?id=323788' # emerge -1 net-print/cups-filters
Now that is cool :)