From: Andreas F. <And...@gm...> - 2005-10-24 20:30:12
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Laura Rhian Pickard wrote: > Thanks. I'm new to this, how do I apply this patch? simply save it to some location, e.g. /tmp Then change to the directory containing the hpoj sources, e.g. /tmp/hpoj-0.91 and use the cat(1) and the patch(1) commands to apply the patch: $ cat /tmp/patch | patch -p1 patching file lib/hpojip/xjpg_fix.c Of course, you could also apply this simple patch manually (the "-" line denotes lines which have been removed, the "+" lines those which have been added, so effectively the patch replaces #define MYLOCATE(p) (void *)(p)=(g->headerBuffer+lenAddedHeader) with #define MYLOCATE(p) p=(g->headerBuffer+lenAddedHeader) ), but this becomes more difficult with more complicated patches of course ;-) Best Regards, Andreas - -- Andreas Fester mailto:an...@li... WWW: http://www.littletux.net ICQ: 326674288 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDXURHZ3bQVzeW+rsRAl4YAKCJYLDNLXreV2XK10JFybbK8XfpAACcD/X2 3HmsGzuMjOe/LJ8REcbKg9o= =uaHY -----END PGP SIGNATURE----- |