home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 13086 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.2 KB  |  43 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!utcsri!torn!spartan.ac.BrockU.CA!bross
  3. From: bross@spartan.ac.BrockU.CA (Brian J Ross)
  4. Subject: Problems with patch
  5. Message-ID: <1992Aug31.164244.54@spartan.ac.BrockU.CA>
  6. Organization: Dept of Computer Science, Brock University
  7. X-Newsreader: Tin 1.1 PL4
  8. Date: Mon, 31 Aug 1992 16:42:44 GMT
  9. Lines: 32
  10.  
  11. I'm trying to compile sbprolog on my Indigo.  When using 'patch' to
  12. merge some diff files, 
  13.  
  14.     patch < Makefile.diff
  15.  
  16. I get the error:
  17.  
  18.     Hmm...  Looks like a new-style context diff to me...
  19.     The text leading up to this was:
  20.     --------------------------
  21.     |*** Makefile.orig      Thu Jan  5 13:10:36 1989
  22.     |--- Makefile   Thu Jan  5 11:36:07 1989
  23.     --------------------------
  24.     Patching file Makefile using Plan A...
  25.     Hunk #1 failed at 1.
  26.     1 out of 1 hunks failed--saving rejects to Makefile.rej
  27.     done
  28.  
  29. I've tried a number of patch binaries, and also have tried
  30.  
  31.     cat Makefile.diff | patch
  32.     patch Makefile Makefile.diff
  33.  
  34. but always the same error.  
  35.  
  36. Is this because the 'diff' file is too old, or am I doing something foolish?
  37.  
  38.  
  39. -- 
  40. Brian Ross                         "At the end of the day, all money gets you
  41. bross@sandcastle.cosc.brocku.ca     is a better place to watch television."
  42.                                     -- Dana Carvey
  43.