Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2010 20:11:37 GMT
From:      "Pedro F. Giffuni" <giffunip@tutopia.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152025: Update lang/nawk to 20100523
Message-ID:  <201011072011.oA7KBbbR077528@www.freebsd.org>
Resent-Message-ID: <201011072020.oA7KKAjp034374@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152025
>Category:       ports
>Synopsis:       Update lang/nawk to 20100523
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 07 20:20:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        8.1-RELEASE
>Organization:
>Environment:
FreeBSD mogwai.giffuni.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
May 23, 2010:
	fixed long-standing overflow bug in run.c; many thanks to
	nelson beebe for spotting it and providing the fix.

	fixed bug that didn't parse -vd=1 properly; thanks to santiago
	vila for spotting it.


>How-To-Repeat:

>Fix:
Patch attached.

Patch attached with submission follows:

diff -ruN nawk.orig/Makefile nawk/Makefile
--- nawk.orig/Makefile	2010-11-07 15:01:52.000000000 +0000
+++ nawk/Makefile	2010-11-07 15:02:59.000000000 +0000
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	nawk
-PORTVERSION=	20100209
+PORTVERSION=	20100523
 CATEGORIES=	lang
 MASTER_SITES=	http://www.cs.princeton.edu/~bwk/btl.mirror/
 DISTNAME=	awk
diff -ruN nawk.orig/distinfo nawk/distinfo
--- nawk.orig/distinfo	2010-11-07 15:01:52.000000000 +0000
+++ nawk/distinfo	2010-11-07 15:03:08.000000000 +0000
@@ -1,3 +1,2 @@
-MD5 (nawk/awk.tar.gz) = 7e6c71ae36ec48ce1d9160f25174bf77
-SHA256 (nawk/awk.tar.gz) = d3b9c2df870d5dc48575fe5c8c5004c73e9ebf124710e83c0e6febdc0df104c1
-SIZE (nawk/awk.tar.gz) = 123234
+SHA256 (nawk/awk.tar.gz) = 0a533b796fc1be8606a2133e87b0f3965686e80f3606da0ae6e85a377a781e2d
+SIZE (nawk/awk.tar.gz) = 117839
diff -ruN nawk.orig/files/patch-makefile nawk/files/patch-makefile
--- nawk.orig/files/patch-makefile	2010-11-07 15:01:52.000000000 +0000
+++ nawk/files/patch-makefile	2010-11-07 15:06:31.000000000 +0000
@@ -1,6 +1,6 @@
---- makefile.orig	2009-02-09 20:20:44.000000000 +0000
-+++ makefile	2009-12-31 15:05:35.000000000 +0000
-@@ -22,19 +22,12 @@
+--- makefile.orig	2010-02-16 01:48:30.000000000 +0000
++++ makefile	2010-11-07 15:05:52.000000000 +0000
+@@ -22,18 +22,11 @@
  # THIS SOFTWARE.
  # ****************************************************************/
  
@@ -8,17 +8,16 @@
 -CFLAGS = -O2
 -CFLAGS =
 -
--CC = gcc -Wall -g -Wwrite-strings
--CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
 -CC = gcc -Wall -g
 -CC = cc
+-CC = gcc -Wall -g -Wwrite-strings
+-CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
 -CC = gcc -O4
 +CFLAGS ?= -O2
  
-+CC ?= cc
- 
 -YACC = bison -y
 -YACC = yacc
++CC ?= cc
 +
 +YACC ?= yacc
  YFLAGS = -d


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011072011.oA7KBbbR077528>