<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2992b163f37c16774839cc0be148d283b0d98079">https://github.com/macports/macports-ports/commit/2992b163f37c16774839cc0be148d283b0d98079</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2992b163f37c16774839cc0be148d283b0d98079
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Oct 11 06:26:54 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> nawk: Update to 20180827
</span>---
lang/nawk/Portfile | 21 ++++++---------------
lang/nawk/files/patch-makefile | 24 ++++++++++++++----------
lang/nawk/files/patch-run.c | 8 ++++----
3 files changed, 24 insertions(+), 29 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/nawk/Portfile b/lang/nawk/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 84ad9f6..5cc6618 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/nawk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/nawk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,13 +1,14 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name nawk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20121220
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 3872ef2407a4ad57f55c45dc60fc917eca7a614e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 8dc092165c5a4e1449f964286483d06d0dbfba4b0bd003cb5dab30de8f6d9b83
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup onetrueawk awk 20180827
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 aec269dbea4677b84a3dc36c4bf8fab242b50361 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 aec3b4570bea6876f12c402ccae299520b758e017a194291ffaf0611aa80df3f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1824091
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+name nawk
</span> categories lang
platforms darwin
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,14 +18,6 @@ description the one true awk
</span>
long_description Kernighan's canonical implementation of awk.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://github.com/onetrueawk/awk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname awk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dist_subdir ${name}/${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.mkdir yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> patchfiles patch-makefile patch-run.c
configure {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,5 +32,3 @@ destroot {
</span> xinstall ${worksrcpath}/a.out ${destroot}${prefix}/bin/nawk
xinstall ${worksrcpath}/awk.1 ${destroot}${prefix}/share/man/man1/nawk.1
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type none
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/nawk/files/patch-makefile b/lang/nawk/files/patch-makefile
</span><span style='display:block; white-space:pre;color:#808080;'>index 069cc1d..0f9b88d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/nawk/files/patch-makefile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/nawk/files/patch-makefile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,19 +1,23 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- makefile.orig 2012-12-20 07:58:45.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ makefile 2013-06-25 22:47:15.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -25,14 +25,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- makefile.orig 2018-08-28 15:05:48.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ makefile 2018-10-11 06:24:02.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -25,17 +25,18 @@
</span> CFLAGS = -g
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS = -O2
</span> CFLAGS =
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS = -O2
</span> +CFLAGS = -DHAS_ISBLANK __CFLAGS__
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CC = gcc -Wall -g -Wwrite-strings
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # compiler options
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #CC = gcc -Wall -g -Wwrite-strings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
</span> CC = gcc -g -Wall -pedantic
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing
</span> +CC = __CC__ -Wall -g
<span style='display:block; white-space:pre;background:#ffe0e0;'>- YACC = bison -d -y
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--YACC = yacc -d -S
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # yacc options. pick one; this varies a lot by system.
</span> #YFLAGS = -d -S
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # -S uses sprintf in yacc parser instead of sprint
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#YACC = bison -d -y
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-YACC = yacc -d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++YACC = bison -d -y
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # -S uses sprintf in yacc parser instead of sprint
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/nawk/files/patch-run.c b/lang/nawk/files/patch-run.c
</span><span style='display:block; white-space:pre;color:#808080;'>index 9067035..7faca72 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/nawk/files/patch-run.c
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/nawk/files/patch-run.c
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,7 +1,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- run.c.orig Tue Dec 28 23:53:45 2004
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ run.c Tue Dec 28 23:53:57 2004
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -903,7 +903,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- run.c.orig 2018-08-28 15:05:48.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ run.c 2018-10-11 06:24:36.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -930,7 +930,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case 'A':
</span> case 'f': sprintf(p, fmt, getfval(x)); break;
case 'd': sprintf(p, fmt, (long) getfval(x)); break;
- case 'u': sprintf(p, fmt, (int) getfval(x)); break;
</pre><pre style='margin:0'>
</pre>