LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-13-2004, 04:51 AM   #1
Riichard
Member
 
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Rep: Reputation: 15
How do I use a .cgi patch?


How do I use a .cgi patch?
I've recently upgraded my SuSE to KDE 3.2.
The upgrade went ok but Kget is now unusable, it crashes all the time.
This is a known bug and there's some cgi patches here,
http://bugs.kde.org/show_bug.cgi?id=74597
to fix it but I don't know how to use them.
 
Old 04-13-2004, 06:23 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Save the patch to disk using whatever name you wish. Then simply cd to the source directory where the files that need to be patched reside and type patch -p0 < filename.patch where filename.patch is the name you saved the page as. If no errors are reported you should be able to compile the program with the patch applied.


Håkan
 
Old 04-13-2004, 09:42 AM   #3
Riichard
Member
 
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by hw-tph
Then simply cd to the source directory where the files that need to be patched reside
Håkan
I'm not sure which files need to be patched.
Ive had a look at the attachment in kwrite and first line contains, kdenetwork-3.2.0/kget/transfer.cpp
I don't have this file.
 
Old 04-13-2004, 05:29 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You will need the KDE sources. Patching and building a big piece of software like KDE can be pretty daunting a task, so perhaps it's a better idea to look for pre-built packages with the patch applied?

I am not a huge KDE fan, but just building the KDE-libs package on my laptop took close to a full day.

Håkan
 
  


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
CGI to work out side of cgi-bin? crashedspine Linux - Newbie 13 09-02-2004 08:49 PM
How to Install patch-o-matic(a iptables patch) on redhat 9? itebooks Linux - Security 1 07-23-2004 08:51 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-20-2004 11:14 PM
http://www.burstnet.com/cgi-bin/ads/ad7954a.cgi/3980/RETURN-CODE rverlander LQ Suggestions & Feedback 1 06-07-2002 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01: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