lemmy999;235267 Wrote: 
> I am currently running Slimserver 6.5.4 on a Windows machine.  I was
> wondering how you apply a patch 

In short, you don't.  If you have installed the windows version using
the installer, everything is pre-compiled.  The source is included, but
any changes will have no effect aside from the Plugin modules.

If you wish to run the server manually, you can install ActivePerl from
activatestate.com and run slimserver.pl from a command session.  This
will use the source modules at runtime.  You can apply a patch, usually
with the command:
patch -p0 < <patchfile>

replacing <patchfile> with the name of the patch file you need to use.
If you don't have the patch command on your system (windows doesn't
usually have dev tools installed)  then you are stuck doing it manually
(unless you install some third party app).  Remove the lines with '-' at
the start, replacing them with the lines starting with '+'.  The
filenames are given for each group, with line numbers to help you find
things.  All files are text files with unix-style line endings, so
you'll want to use wordpad to edit them (notepad would be messy). 
Programs like UltraEdit and TextPad are great for this.  TortoiseSVN is
a good option if you want to do a direct "check out" of code from SD and
it supports applying patches as a menu option.

-kdf


-- 
kdf
------------------------------------------------------------------------
kdf's Profile: http://forums.slimdevices.com/member.php?userid=7
View this thread: http://forums.slimdevices.com/showthread.php?t=39326

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to