LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-18-2003, 06:45 PM   #1
hydro
Member
 
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82

Rep: Reputation: 15
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?
 
Old 02-18-2003, 06:50 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
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

Last edited by MasterC; 02-18-2003 at 06:52 PM.
 
Old 02-18-2003, 06:58 PM   #3
hydro
Member
 
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82

Original Poster
Rep: Reputation: 15
im guessing i do this udner the php source tree?
 
Old 02-18-2003, 07:03 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Applying a debian patch to a "pure" kernel gerald45 Debian 2 10-23-2005 09:05 AM
Yast2: "Signature check for patch info files failed" The_fuzzy_cow SUSE / openSUSE 1 12-30-2004 04:40 PM
Can someone email me "madwifi-2.6.8_and_-mm-040821.patch.bz2"? (madwifi 2.6.8 patch) 95se Linux - Wireless Networking 0 09-01-2004 10:34 AM
Help please! applying FreeBsd patches for "programe name" failed. Devboy *BSD 2 08-12-2004 05:16 PM


All times are GMT -5. The time now is 02:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration