Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!ucbvax!duc220.uni-duisburg.de!hj412fr From: hj412fr@duc220.uni-duisburg.de (Frik) Newsgroups: comp.sys.apollo Subject: Re: admission of gross ignorance Message-ID: <9010170847.AA23039@duc220.uni-duisburg.de> Date: 17 Oct 90 08:47:21 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 34 Sigh, I really feel stupid. I've retreived the X11 R4 sources and unpacked the files from tapes 1 through 4. Now I am trying to apply the patches in the "fixes" directory, and can't seem to get the "patch" program to automatically recognize the name of the file-to-be-patched (which is in the patch file itself). Can anyone who has already done this let me know what I need to type in order to apply the patches? I'm stumped. == Dave Krowitz P.S. Yes, I am using the version of "patch" supplied in the ./mit/util directory. Now, I do not know the version of patch you get in ./mit/util, but the general rule is: Use the -p# option to strip off the leading pathname components, where # is the number of components (counting the leading slash!) you can do without. e.g. if the patch says /hugo/haha/hihi/src/file.c but you have the file in //congo/hoho/src then go to //congo/hoho and do patch -p4 ... By the way, the Apollo patch in /usr/new does not seem to handle the -p option properly: I always get source from some server, and install myself, the programs are better and faster that way! Martin Anantharaman FB7, FG7 (Mechanik) Work: +49 (203) 379-3336 Universitaet -GH- Duisburg Home: +49 (203) 37 65 89 Lotharstr. 1 FAX: +49 (203) 379-3052 4100 Duisburg 1 E-Mail: hj412fr@duc220.uni-duisburg.de West Germany