Ticket #59857: cscope-15.9.patch

File cscope-15.9.patch, 2.1 KB (added by nwg (Nathaniel W Griswold), 4 years ago)

This is a git diff patch file for the macports tree to upgrade cscope from 15.8a to 15.9 and apply a symlink patch that was not there before

  • devel/cscope/Portfile

    diff --git a/devel/cscope/Portfile b/devel/cscope/Portfile
    index 72cc7d74248..a45c4e1c449 100644
    a b  
    11PortSystem 1.0
    22
    33name                cscope
    4 version             15.8a
     4version             15.9
    55revision            1
    66categories          devel
    77platforms           darwin freebsd
    long_description Cscope is a developer's tool for browsing source code. \ 
    1717
    1818homepage            http://cscope.sourceforge.net/
    1919master_sites        sourceforge
    20 checksums           rmd160  9536de3b7bdf6dd355dd9c28308457692c9a0b9f \
    21                     sha256  eb736ac40d5abebe8fa46820c7a8eccc8a17966a9a5f70375367b77177874d1e
     20checksums           rmd160  afea7d56e0536bfe02fcd647a510ae022100c88d \
     21                    sha256  c5505ae075a871a9cd8d9801859b0ff1c09782075df281c72c23e72115d9f159
    2222
    23 patchfiles          patch-constants.h
     23patchfiles          patch-symlink-not-found-fix.diff
    2424
    2525depends_lib         port:ncurses
    2626
  • deleted file devel/cscope/files/patch-constants.h

    diff --git a/devel/cscope/files/patch-constants.h b/devel/cscope/files/patch-constants.h
    deleted file mode 100644
    index 9cc5a701b16..00000000000
    + -  
    1 --- src/constants.h     2009-12-10 13:07:26.000000000 -0800
    2 +++ src/constants.h     2009-12-10 13:07:07.000000000 -0800
    3 @@ -103,7 +103,7 @@
    4  #define INCLUDES       8
    5  #define        FIELDS          9
    6  
    7 -#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__
    8 +#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__ && !__APPLE__
    9  # define TERMINFO      0       /* no terminfo curses */
    10  #else
    11  # define TERMINFO      1
    12 
  • new file devel/cscope/files/patch-symlink-not-found-fix.diff

    diff --git a/devel/cscope/files/patch-symlink-not-found-fix.diff b/devel/cscope/files/patch-symlink-not-found-fix.diff
    new file mode 100644
    index 00000000000..ee41c023b92
    - +  
     1--- src/dir.c.orig      2019-12-19 07:15:19.000000000 -0600
     2+++ src/dir.c   2019-12-19 07:03:36.000000000 -0600
     3@@ -651,7 +651,7 @@
     4        struct stat stats;
     5 
     6        if (lstat(file, &stats) == 0
     7-           && S_ISREG(stats.st_mode)) {
     8+           && (S_ISREG(stats.st_mode) || S_ISLNK(stats.st_mode))) {
     9            return YES;
     10        }
     11     }