Roundcube Community Forum

 

Patching files

Started by matt2minger, September 05, 2006, 11:54:48 AM

Previous topic - Next topic

matt2minger

Hi Guys,

i am a noob to this patching thing, i was wondering if anyone can recomend any software to use so that i can apply the password change patch to roundcube,

Cheers
Wellsy

bpat1434

Don't know of any Windows programs that would do this, but the patch file isn't that difficult to navigate. Here's some light reading on the file: How to patch a file in Linux

Here's the quick down and dirty information:
--- The original file to be patched (modified) [ may have version information ]
+++ The new file name after patching [ typically the same name ]
@@ Designates a "chunk" to be patched (helps in locating proper placement in file)
- Removal of that specific line
+ Addition of that specific line

***Note: An empty column (i.e. no + or - sign) means that the line doesn't change***

I'm working on something to write out steps for patch files so people can use them on non-linux systems. So far, I've got some of it working, not all of it. If I get it working (as I want) I'll upload it for those to use.