[SOLVED] Advice needed about patching a source package
I have installed tk but it fails to run and says it hasn't been properly installed. This is a known bug caused by an incompatibility with xproto; there is a patch for it which I have copied into a file called tkpatch. But I have never patched source code before so I need a bit of reassurance from the younger and wiser ;-) before actually doing the job.
I have copied the source tarball from /usr/portage/distfiles and unpacked it in my home directory. The problem is in the file generic/tkBind.c. Is the solution really as simple as going into the generic directory and running
, then retarring the whole thing and copying it back to distfiles? And then re-emerging it? I don't want to screw up.