elua/elua — comment on commit 1cd20f60acea6005a4e82770842e4e091a30f9f1
File:  line 0
By jsnyder:

How much code space does this actually save? I'm impressed with either your patience and/or lack of sanity if you did this manually (I'm hoping you wrote a patch_to_ifdef.sh or something :-) ).

That said, there has to be a better way to do this from a maintenance perspective. This is going to make maintaining patch updates a bit of a nightmare.

Even though it's disgusting and fragile I'd almost rather have a "depatch" process in the build system that would modify relevant sources to remove the patch at build time, or keep this sort of thing on a branch? I'd be open to suggestions... Maybe we can meet half-way and remove part of the patch's functionality with ifdefs?