From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8996e9fb1d945bb1fd727f12fe64f9c2@quanstro.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] Applying patches to local machine From: erik quanstrom Date: Fri, 2 Nov 2007 08:35:29 -0400 In-Reply-To: <509071940711020452n6372fbb4h9da4b2b12f1d6701@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: e600ab56-ead2-11e9-9d60-3106f5b1d025 > all the /bin/patch/* files are just shell scripts, so it's easy to see > what's going on. which stage gives you permission errors? in a default > setup, you'll have to be in group sys, as that's who owns all the > sources. > > if you can't be in sys for whatever reason, you'll have a somewhat > more manual process ahead of you. identify the files to be modified, > create local copies (i'm assuming you can at least *read* them, > otherwise this is probably futile), bind them over the system ones, > and re-run the patch command. > > of course, i'm largely guessing without an error message. read the source, luke. patch/apply assumes you are at bell labs with appropriate permissions to /n/sources. the script bails if you can't touch files in the patch's directory. it is also likely that you'll need to merge the source by hand as the piemenu patch is very old. you likely want to make a seperate copy of libdraw and link against it selectivly by binding the archive on /386/lib/libdraw.a - erik