On Tue, 18 Nov 2003, Gray, Tim wrote:

> if someone could point me to a resource on how to modify a patch I'd fix the
> patch so that it works again, but as time goes on and SDL continues to
> evolve the dxr3 patch will become useless.
>

The easiest way, keep two copies of the SDL tree, say SDL-orig, and
SDL-patched where you've successfully patched all needed files, and
removed any stray reject files etc.

Then at the parent directory (containing both SDL-orig and SDL-patched
trees)

# diff -Naur SDL-orig/ SDL-patched/ > SDL-nokeyboard.patch

To apply the patch, assuming that the user has SDL-orig.tar.gz and
SDL-nokeyboard.patch in the same subdirectory.

# tar xzvf SDL-orig.tar.gz
# cd SDL-orig
# patch -p1 < ../SDL-nokeyboard.patch

(the -p1 flag is to tell patch to ignore the top level directory name).

It's best to send the patch file as a MIME enclosure since text tends to
with tabs get messed up by remailers. The downside is that folks browsing
the archive wouldn't be able to retrieve mime enclosures easily (I haven't
found a way to copy a mime enclosure from an archive post and get it
decoded yet -- anyone know?).

T.C.
----
Wan Tat Chee (Lecturer)
School of Computer Science, Univ. of Science Malaysia,
11800 USM, Penang, Malaysia.      Rm.625 Ofc Ph: +604 653-3888 x 3617
NRG Lab Admin: +604 659-4757           Rm.601-E Ofc Ph: +604 653-4396
Internet: [EMAIL PROTECTED]            Web: http://nrg.cs.usm.my/~tcwan
GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc
F'print : DCF2 B9B2 FA4D 1208 AD59  14CA 9A8F F54D B2C4 63C7


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to