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 -07002 +++ dfa.c 2005-08-29 14:16:02.000000000 -07003 @@ -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 DEBUG10 static void prtok PARAMS ((token t)); -
files/patch-hard-locale.h
1 --- hard-locale.h.orig 2005-08-29 14:16:31.000000000 -07002 +++ hard-locale.h 2005-08-29 14:16:53.000000000 -07003 @@ -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 you10 can't get away with assuming traditional C or POSIX behavior. */11 static int12 @@ -40,8 +42,6 @@13 if (strcmp (p, "C") == 0 || strcmp (p, "POSIX") == 0)14 hard = 0;15 # else16 - static ptr_t xmalloc PARAMS ((size_t n));17 -18 char *locale = xmalloc (strlen (p) + 1);19 strcpy (locale, p);20 -
Portfile
2 2 3 3 PortSystem 1.0 4 4 name gawk 5 version 3.1.5 6 revision 2 5 version 3.1.6 7 6 categories lang 8 7 maintainers marius@caos.aamu.edu 9 8 platforms darwin 10 9 master_sites gnu 11 10 homepage http://www.gnu.org/software/gawk/ 12 checksums md5 5703f72d0eea1d463f735aad8222655f13 11 description The GNU awk utility. 14 12 use_bzip2 yes 15 13 … … 18 16 that makes it possible to handle simple data-reformatting jobs with \ 19 17 just a few lines of code. It is a free, extended version of awk. 20 18 21 patchfiles patch-dfa.c patch-hard-locale.h 19 checksums md5 c9926c0bc8c177cb9579708ce67f0d75 \ 20 sha1 fb45bded207af6a8e46cd63fcbb6fb064ecee607 \ 21 rmd160 e2639935d87d5c9fdb115a58ab1f598b69a76216 22 22 23 23 depends_lib port:libiconv \ 24 24 port:gettext 25 25 26 configure.args --with-libiconv-prefix=${prefix} \ 27 --infodir=${prefix}/share/info \ 28 --mandir=${prefix}/share/man 26 configure.args --with-libiconv-prefix=${prefix} 29 27 30 28 test.run yes 31 29 test.target check 32 30 33 31 post-destroot { 34 delete ${destroot}${prefix}/bin/awk \32 delete ${destroot}${prefix}/bin/awk 35 33 } 36 34 37 35 platform darwin 6 { 38 depends_lib-append lib:libdl:dlcompat36 depends_lib-append lib:libdl:dlcompat 39 37 }