The patch in summary is touching both Makefile.in and Makefile.am, probably to avoid autotools rebuild.
This treatment is usually reserved for a few selected system packages that cannot have their autotool scripts rebuilt.
This _could_ cause maintainermode-driven rebuild (see http://blog.flameeyes.eu/articles/2008/06/13/maintaner-mode ), which is something we should be avoiding as much as possible.
Please just patch Makefile.am and/or configure.in/.ac and rebuild autotools, unless you have very good reasons not to.
29 Jun 2008; Peter Alfredsen <firstname.lastname@example.org>
+ files/lavaps-2.7-this-makes-it-compile.patch, lavaps-2.7-r2.ebuild:
+ Build-only fixes to avoid makefile patching, acinclude patching, and
+ sundry other ways people have abused this package over the years. Fixes
+ bug #226845.