[sldev] http://jira.secondlife.com/browse/VWR-10607... can someone make a patch for me?

Cam Rapp dnbyena at gmail.com
Thu Dec 18 16:34:21 PST 2008


">>>>>>>>>> 355
    if (fp)
    {
        llinfos << "Looking in " << fname
            << " for VRAM info..." << llendl;
        rtn = x11_detect_VRAM_kb_fp(fp, ": VideoRAM: ");
        if (0 == rtn)
        {
            rtn = x11_detect_VRAM_kb_fp(fp, ": Memory: ");
            if (0 == rtn)
            {
                rtn = x11_detect_VRAM_kb_fp(fp, ": Video RAM: ");
            }
        }
        fclose(fp);
    }
 >>>>>>>>>>> 370

Spacings gonna be quite messed up here,
I work from svn trunk and created this patch with  'svn diff >> window.patch' 
from that directory. Thats how i normally do it, for a single file i mite have 
also done "svn diff indra/llwindow/llwindowsdl.cpp >> window.patch"

for patching 'patch -p0 < window.patch' if it ever doesnt work i just do a 
find and replace to fix all the locations of the source files. 'patch -Rp0 < 
window.patch to unpatch it, and 'svn revert indra/llwindow/llwindow.cpp. if I 
ever end up distroying it and want to revert to the latest version.

Khyota :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: window.patch
Type: text/x-patch
Size: 812 bytes
Desc: not available
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20081218/efd1679a/window.bin


More information about the SLDev mailing list