I'd like to answer a question where part of the solution involves apply a patch file. Obviously, having the exact patch file is important to that working, but it's too many characters to include as part of the answer, and generating it the first time around was a difficult/black magic process that I'm not sure I could easily explain in an answer.
Is there a recommended way to include things like this in an answer? Should I infer from this problem that this isn't a good way to answer the question?
My original thought would be to link to something like GitHub, but my employer frowns upon code upload sites (except this one) for obvious reasons.
EDIT
Seems like the consensus is 'if you have to do this, it's not going to be a good answer'.