Loading ...
Sorry, an error occurred while loading the content.

Re: problem with patch 6.0.046

Expand Messages
  • Dan Sharp
    ... You want to use -p0 instead of -p2 . The patch is trying to patch, relative to the current directory (vim60 in your case), src/auto/configure. The -p2
    Message 1 of 8 , Nov 1, 2001
    • 0 Attachment
      >From: Benji Fisher <fisherbb@...>
      >
      >*** ../vim60.1/src/auto/configure Mon Sep 10 11:39:17 2001
      >--- src/auto/configure Thu Sep 27 22:20:19 2001
      >
      >so I go to my vim60/ directory and do
      >
      >% patch -p2 << ../patches/6.0.003

      You want to use -p0 instead of -p2 . The patch is trying to patch, relative
      to the current directory (vim60 in your case), src/auto/configure. The -p2
      means "strip off the first two directories of the file to patch" so the
      src/auto is being removed and it is trying to patch configure in the current
      directory. -p0 means "don't remove any directories" and will correctly
      patch src/auto/configure.

      Dan Sharp

      _________________________________________________________________
      Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
    • Benji Fisher
      ... Thanks, it works now. My mistake was thinking that -p2 applied to the *** line and not the --- line. --Benji Fisher
      Message 2 of 8 , Nov 1, 2001
      • 0 Attachment
        On Thursday, November 1, 2001, at 11:04 AM, Dan Sharp wrote:

        >> From: Benji Fisher <fisherbb@...>
        >>
        >> *** ../vim60.1/src/auto/configure Mon Sep 10 11:39:17 2001
        >> --- src/auto/configure Thu Sep 27 22:20:19 2001
        >>
        >> so I go to my vim60/ directory and do
        >>
        >> % patch -p2 << ../patches/6.0.003
        >
        > You want to use -p0 instead of -p2 . The patch is trying to patch,
        > relative to the current directory (vim60 in your case),
        > src/auto/configure. The -p2 means "strip off the first two directories
        > of the file to patch" so the src/auto is being removed and it is trying
        > to patch configure in the current directory. -p0 means "don't remove
        > any directories" and will correctly patch src/auto/configure.

        Thanks, it works now. My mistake was thinking that -p2 applied to
        the *** line and not the --- line.

        --Benji Fisher
      Your message has been successfully submitted and would be delivered to recipients shortly.