NYCPHP Meetup

NYPHP.org

[nycphp-talk] providing patches for php apps ...

Hans Zaunere hans at nyphp.org
Mon Aug 11 12:58:33 EDT 2003



Jon Baer wrote:

> greetings ...
> 
> im just curious how everyone might apply patches to php apps (for example if
> u took a pretty old open php app and adjusted a few files, .php, .sql) and u
> wanted to just provide the patch file, is there a common way to do this?
> 
> diff ~/dev/file.1php ~/tmp/file1.php > patch
> patch < patch
> 
> is the sufficient/common?

Probably, although unified diffs are typically a little better because it'll provide some context.  Nothing that I'm aware would be any different from C source to PHP source, etc.  I'm always a fan of FreeBSD docs:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/slow-patch.html
> 
> - jon
> 
> pgp key: http://www.jonbaer.net/jonbaer.asc
> fingerprint: F438 A47E C45E 8B27 F68C 1F9B 41DB DB8B 9A0C AF47
> 
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk




More information about the talk mailing list