apply unified diff patches
Jeg kører en hjemmeside med PHP scriptet Promisance (et tur-baseret browserspil).Der er nu en ny version, som jeg gerne vil opgradere til.
Jeg har downloaded en patch med en .diff fil og en .MySQL fil.
Der er ikke nogen README fil til, så jeg spurgte på scriptets forum hvordan jeg opgraderer, og fik følgende svar:
"The patch consists of a .diff file and several .*sql* files. You run the .diff file through the "patch" command, and that automatically applies all of the necessary code changes, creating .rej (reject) files for any changes it failed to apply (which can happen if you made code changes too close to what I changed such that it couldn't find appropriate context).
You then run the SQL file matching your database."
jeg ved ikke hvordan jeg "run the .diff file through the "patch" command"...
Jeg er kunde hos One.com.
Nogen der kan hjælpe mig?
Min side: http://empires.freerun-net.dk
Forumet hvor jeg fik hjælp: http://www.qmtpro.com/forums/viewtopic.php?f=23&t=10986
