<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">That's great! Thanks for the help. I downloaded your attachment.bin file. It looks like ascii, so i'm assuming the file name makes no difference. <div><br></div><div>I issued the commands like this<div><br></div><div>tar -zxvf cadaver-0.23.2</div><div>cd cadaver-0.23.2</div><div>patch -p0 -i ~/Downloads/attachment.bin</div><div><br></div><div>The output was</div><div><div>patching file src/options.h</div><div>patching file src/cadaver.c</div><div>Hunk #1 succeeded at 428 (offset -5 lines).</div><div>Hunk #2 FAILED at 441.</div><div>Hunk #3 succeeded at 476 (offset -7 lines).</div><div>Hunk #4 succeeded at 798 (offset -17 lines).</div><div>Hunk #5 FAILED at 881.</div><div>Hunk #6 succeeded at 1082 (offset -18 lines).</div><div>Hunk #7 succeeded at 1096 (offset -18 lines).</div><div>Hunk #8 succeeded at 1156 (offset -18 lines).</div><div>2 out of 8 hunks FAILED -- saving rejects to file src/cadaver.c.rej</div><div>patching file src/cadaver.h</div><div>Hunk #1 succeeded at 175 (offset -15 lines).</div><div>patching file src/options.c</div><div>patch unexpectedly ends in middle of line</div><div>Hunk #1 succeeded at 107 with fuzz 1 (offset -2 lines).</div><div><br></div><div>Does that seem right? I downloaded the source from webdav.org/cadaver.</div><div>I'm going to attempt a build now.</div><div>Thanks again.</div><div>Jason</div><div><br></div><div><div>On Jul 30, 2009, at 4:57 PM, Eugene Dorfman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Jason<br><br>You should type:<br><br>$ patch -p0 -i ../cadaver.patch<br> <br>assuming your current dir is where the cadaver source resides and cadaver.patch is one level up from that dir. cadaver.patch can be anywhere in the filesystem, just make sure you specify correct path to it in the command line.<br> Here is a nice post on creating and applying patches with subversion: <a href="http://ariejan.net/2007/07/03/how-to-create-and-apply-a-patch-with-subversion/">http://ariejan.net/2007/07/03/how-to-create-and-apply-a-patch-with-subversion/</a><br> <br>Hope I answered your question.<br><br><div class="gmail_quote">2009/7/30 Jason Thomson <span dir="ltr"><<a href="mailto:schnogg@gmail.com">schnogg@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi, I found your patch in the maliilng list archive from yesterday. Sorry for such a low-level question, but what would be the command to issue to insert this patch? is it patch -p0 attchment.bin cadaver.c ? I've never fully found a good reference for using patches, so I've only been lucky so far with building patched software.<br> Thanks in advance<br><font color="#888888"> Jason<br> <br> </font></blockquote></div><br></blockquote></div><br></div></div></body></html>