Please provide instructions to apply patch.
I want to build the source files for zoneminder on my (sort of headless) Lucid system (which is a desktop sitting in my garage and I am working from a laptop in my living room). I need instructions as to how to apply the patch that appears alongside the source tarball in this package. I presume the "diff" file is the "patch" which I apply with the "patch" program.
Before you all echo previous posts and recommend I install the precompiled binaries, I have already tried installing the binary package on my "headless" box using apt-get via an ssh terminal session and it fails for some reason (I will ask for help from that only if I can't get the source build to work - and it should, right?). Therefore I want to try to build from source to see if this will be more successful. Besides, I would like to learn a bit about this stuff.
The question I have is this: I can extract the tarball but I am a stupid dummy about how to apply the patch. Diff files are pretty impossible to read and understand (at least to me, anyway) so I am having a bit of trouble understanding what it does.
I tried to compile the "orig" build directory and it fails so maybe the diff file has a fix in it. If, after the patch is applied and I still can't get the build to compile, I'll ask more questions then.
So, in summary, what I need, for now, anyway, is instructions how to apply the patch: i.e. what is the command line I should use, where should the diff file be located and what should be my working directory (relative to the build directory)?
Any help would be greatly appreciated. Thanks in advance.