|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
How apply diff patch...
Hi,
I've installed OpenBSD 4.9 on a Netbook AOD255E and for resolve the problem with my Ethernet Card I should to install a new patch diff : "http://marc.info/?l=openbsd-tech&m=129595134124076&w=2" So, I'm newbie and need some help to known in which way to do that : -Should I copy all content between two Index: share/man/man4/alc.4 text from the RCS line "RCS file: /cvs/src/share/man/man4/alc.4,v" until the next index and paste it in a file name /cvs/src/share/man/man4/alc.4 ? -Then the following : Code:
# cd /cvs/src/share/man/man4/ # patch -p0 < 001_st.patch (with the name of patch) alc.4 and rebuild the kernel, like : "http://www.openbsd.org/faq/faq5.html#BldKernel" I've just checked google and some openbsd faq, but in the beginning is hard to find quickly to right infos. Any help will be appreciated, Best regards |
|
|||
Quote:
If you are unclear as to the differences between -release & -current, study Section 5.1 of the FAQ. Patching is discussed in Section 10.15 of the FAQ. If you have an interface using the alc(4) driver & wish to see if newer code resolves any issues, install a snapshot of -current first. At that point, you can decide whether you want to apply any diffs found on tech@. Lastly, the diff mentioned in your link above is dated January 2011 & affects the CVS version 1.8 of src/sys/dev/pci/if_alc.c. This diff is quite old, & may or may not apply as expected given that the most recent version is 1.12. There has been more recent discussion regarding this interface on tech@: http://marc.info/?l=openbsd-tech&w=2&r=1&s=alc&q=b My suggestion would be to study more recent discussion before installing a snapshot of -current if you feel newer code may be worth testing. After installing -current, you will have a platform in which you can test diff's posted to tech@ if you so choose. Last edited by ocicat; 18th May 2011 at 08:14 PM. |
|
|||
That is a patch to a man page, if you don't comprehend the concept of source code.. you should not be using OpenBSD.
|
|
|||
Patching the alc(4) manpage is only one of several files patched by the diff.
|
|
|||
For adding support for the controller, patching the man page is a very low priority.. this person has also posted on the mailing lists a similar ignorance of how things work, focusing a lot of "alc.4" which is a very irrelevant part of the diff.
I'd recommend that the OP take some time to read the diff, among other things. |
|
||||
Some additional information OpenBSD admins need to know, that may not be obvious from my previous posting:
|
|
|||
All your messages were useful to me! After reading FAQs, man pages for some command and many other things in openbsd.org I understood a little more so that I could apply the patch.
Thanks a lot for your help! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Apply TTYS changes with out reboot | jjjustjjjay | OpenBSD General | 1 | 6th May 2010 09:24 PM |
Patch question | Mr-Biscuit | Off-Topic | 6 | 4th May 2010 07:47 PM |
Patch for libXemu-1.0.3,1 | mjj | FreeBSD Installation and Upgrading | 1 | 3rd January 2010 09:47 PM |
run same command many times with diff args | gosha | Programming | 21 | 30th May 2009 11:51 AM |
How to apply patche for NMAP | sniper007 | FreeBSD Ports and Packages | 3 | 27th January 2009 04:25 PM |