How to apply a patch in OpenBSD?

2014-04-13 Thread ohh, whyyy
Hi list! I installed the comp54.tgz set too when I installed http://ftp.openbsd.org/pub/OpenBSD/5.4/amd64/install54.iso then: # cd /root && ftp http://ftp.openbsd.org/pub/OpenBSD/`uname -r`/src.tar.gz && tar -xzf /root/src.tar.gz -C /usr/src # uname -r 5.4 # pwd /usr/src # ls -la total 124 drwxrw

Re: How to apply a patch in OpenBSD?

2014-04-15 Thread ohh, whyyy
7;s just like pouring piss out if a boot; the instructions are written on > the heel. :) > > If your sources are in /usr/src, and the patches are in /usr/src/5.4 then > if you cd /usr/src ; patch -p0 < path to patch it'll work, exactly as it > instructs in the patch itself. > >