Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 10-22-2005, 04:41 PM   #1
LQ Newbie
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
Installing a '.patch' file

What I am trying to do is install this patch 'v4l-add-saa713x-card-65-kworld-v-stream-studio-tv-terminator.patch'
so that when setting up my tvtuner card i can use proper modprobe options that pertain to my exact card specification and manufacture.

I do not understand how, I have tried to google the procedure, which lead me to this forum, but was not the exact information I needed. So how do I install a patch?

I did

#cd /usr/src/linux
#patch -p1 < v4l-add-saa713x-card-65-kworld-v-stream-studio-tv-terminator.patch

I got this

patching file Documentation/video4linux/CARDLIST.saa7134
Hunk #1 FAILED at 63.
1 out of 1 hunk FAILED -- saving rejects to file Documentation/video4linux/CARDLIST.saa7134.rej
patching file drivers/media/video/saa7134/saa7134-cards.c
Hunk #1 succeeded at 2100 with fuzz 1 (offset 65 lines).
patching file drivers/media/video/saa7134/saa7134.h
Hunk #1 FAILED at 185.
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/video/saa7134/saa7134.h.rej

so what do I need to do?
Old 10-23-2005, 05:32 AM   #2
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
Usually means the code the patch contains and is trying to replace in the original code doesn't quite match up. You could go through the code copying + pasting the chunks manually, though I'd guess you don't have the right patch version to match your kernel. What kernel are you running, and are you sure the patch you downloaded was for your current kernel? Typing
uname -r
will display your current kernel, then go back and see if you can find the patch that matches.
Old 11-06-2005, 02:27 PM   #3
LQ Newbie
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
I manually added the contents of Patch-2.4.24 to the driver/scsi/Makefile of my 2.4.31 kernel. Unfortunately Broadcoms driver support is extremely limited. The tarball come with a Patch file for a 2.6.5 a 2.4.24 and a 2.4.18 kernel. They also include a Makefile_2.4 and a Makefile_2.6 one which is to be renamed to Makefile depending on your kernel.

They do provide rpm's for Redhat, Suse and Fedora, but that doesnt help me any running Slackware.


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
How to use patch file jnsg Slackware 2 10-23-2005 07:08 PM
Need help installing driver -> .patch file? Crazy Joe Davol Linux - Newbie 2 09-07-2005 01:00 PM
how do i patch a file Hockeyfan Linux - Newbie 1 05-09-2004 03:05 AM
installing a .patch file nuzzy Linux - General 1 11-10-2003 05:30 PM
patch file udayan Programming 2 05-15-2002 09:03 AM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:25 PM.

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