LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   applying patch "4.3.0 to 4.3.1" (https://www.linuxquestions.org/questions/linux-software-2/applying-patch-4-3-0-to-4-3-1-a-46060/)

hydro 02-18-2003 06:45 PM

applying patch "4.3.0 to 4.3.1"
 
Hey dudes

Well php released a emergency release of 4.3.1 because fo a serious bug


im too lazy to uninstall php, and install php 4.3.1

so I just wanna patch it

how do i?

i have the .gz file

i gunzip -d it

now i have just a plain old file

what are the steps?

MasterC 02-18-2003 06:50 PM

patch -Np1 -i /path/to/patchfile-filename-patch (edit: Read the manpage, the p1 might not apply to you, you may have better luck with a different number there)

Assuming it'll work (since it's for a different version) that should work to patch it.

Cool

hydro 02-18-2003 06:58 PM

im guessing i do this udner the php source tree?

MasterC 02-18-2003 07:03 PM

Normally I prefer to be in my source tree, and have the patch file just above it, so I patch:
patch -Np1 ../patchfile

Although, I assume you could be somewhere else, it may be covered in the man (what I do usually works, so I don't test the waters ;) ).

Cool


All times are GMT -5. The time now is 06:52 AM.