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 #su #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? |
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
Code:
uname -r |
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. |
All times are GMT -5. The time now is 03:02 PM. |