Ticket #13340: gawk-3.1.6.diff

File gawk-3.1.6.diff, 2.9 KB (added by nox@…, 17 years ago)
  • files/patch-dfa.c

     
    1 --- dfa.c.orig  2005-08-29 14:15:50.000000000 -0700
    2 +++ dfa.c       2005-08-29 14:16:02.000000000 -0700
    3 @@ -122,7 +122,6 @@
    4  static void dfamust PARAMS ((struct dfa *dfa));
    5  
    6  static ptr_t xcalloc PARAMS ((size_t n, size_t s));
    7 -static ptr_t xmalloc PARAMS ((size_t n));
    8  static ptr_t xrealloc PARAMS ((ptr_t p, size_t n));
    9  #ifdef DEBUG
    10  static void prtok PARAMS ((token t));
  • files/patch-hard-locale.h

     
    1 --- hard-locale.h.orig  2005-08-29 14:16:31.000000000 -0700
    2 +++ hard-locale.h       2005-08-29 14:16:53.000000000 -0700
    3 @@ -22,6 +22,8 @@
    4     Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
    5  
    6  
    7 +static ptr_t xmalloc PARAMS ((size_t n));
    8 +
    9  /* Return nonzero if the current CATEGORY locale is hard, i.e. if you
    10     can't get away with assuming traditional C or POSIX behavior.  */
    11  static int
    12 @@ -40,8 +42,6 @@
    13        if (strcmp (p, "C") == 0 || strcmp (p, "POSIX") == 0)
    14         hard = 0;
    15  # else
    16 -      static ptr_t xmalloc PARAMS ((size_t n));
    17 -
    18        char *locale = xmalloc (strlen (p) + 1);
    19        strcpy (locale, p);
    20  
  • Portfile

     
    22
    33PortSystem 1.0
    44name            gawk
    5 version         3.1.5
    6 revision        2
     5version         3.1.6
    76categories      lang
    87maintainers     marius@caos.aamu.edu
    98platforms       darwin
    109master_sites    gnu
    1110homepage        http://www.gnu.org/software/gawk/
    12 checksums       md5 5703f72d0eea1d463f735aad8222655f
    1311description     The GNU awk utility.
    1412use_bzip2       yes
    1513
     
    1816    that makes it possible to handle simple data-reformatting jobs with \
    1917    just a few lines of code. It is a free, extended version of awk.
    2018
    21 patchfiles      patch-dfa.c patch-hard-locale.h
     19checksums       md5 c9926c0bc8c177cb9579708ce67f0d75 \
     20                sha1 fb45bded207af6a8e46cd63fcbb6fb064ecee607 \
     21                rmd160 e2639935d87d5c9fdb115a58ab1f598b69a76216
    2222
    2323depends_lib     port:libiconv \
    2424                port:gettext
    2525
    26 configure.args  --with-libiconv-prefix=${prefix} \
    27                 --infodir=${prefix}/share/info \
    28                 --mandir=${prefix}/share/man
     26configure.args  --with-libiconv-prefix=${prefix}
    2927
    3028test.run        yes
    3129test.target     check
    3230
    3331post-destroot {
    34     delete ${destroot}${prefix}/bin/awk \
     32    delete ${destroot}${prefix}/bin/awk
    3533}
    3634
    3735platform darwin 6 {
    38 depends_lib-append      lib:libdl:dlcompat
     36    depends_lib-append      lib:libdl:dlcompat
    3937}