Roundcube Community Forum

Recycle Bin => Recycle Bin => Topic started by: matt2minger on September 05, 2006, 11:54:48 AM

Title: Patching files
Post by: matt2minger on September 05, 2006, 11:54:48 AM
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
Title: Re: Patching files
Post by: bpat1434 on September 07, 2006, 02:04:33 PM
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 (http://www.cpqlinux.com/patch.html)

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.