From owner-svn-ports-all@FreeBSD.ORG Tue Feb 24 15:48:28 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B2C6893C; Tue, 24 Feb 2015 15:48:28 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9385EC43; Tue, 24 Feb 2015 15:48:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1OFmSqx080523; Tue, 24 Feb 2015 15:48:28 GMT (envelope-from gabor@FreeBSD.org) Received: (from gabor@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1OFmRNC080519; Tue, 24 Feb 2015 15:48:27 GMT (envelope-from gabor@FreeBSD.org) Message-Id: <201502241548.t1OFmRNC080519@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: gabor set sender to gabor@FreeBSD.org using -f From: Gabor Kovesdan Date: Tue, 24 Feb 2015 15:48:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379816 - in head/math/gnubc: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 15:48:28 -0000 Author: gabor Date: Tue Feb 24 15:48:26 2015 New Revision: 379816 URL: https://svnweb.freebsd.org/changeset/ports/379816 QAT: https://qat.redports.org/buildarchive/r379816/ Log: - Minor fixes from Apple [1] - Add LICENSE [1] - Pet portlint(1) PR: 193963 [1] Submitted by: pfg [1] Added: head/math/gnubc/files/ head/math/gnubc/files/patch-bc__bc.y (contents, props changed) head/math/gnubc/files/patch-bc__load.c (contents, props changed) head/math/gnubc/files/patch-bc__main.c (contents, props changed) Modified: head/math/gnubc/Makefile Modified: head/math/gnubc/Makefile ============================================================================== --- head/math/gnubc/Makefile Tue Feb 24 15:47:33 2015 (r379815) +++ head/math/gnubc/Makefile Tue Feb 24 15:48:26 2015 (r379816) @@ -3,14 +3,16 @@ PORTNAME= bc PORTVERSION= 1.06 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} PKGNAMEPREFIX= gnu MAINTAINER= gabor@FreeBSD.org -COMMENT= The GNU bc/dc calculator +COMMENT= GNU bc/dc calculator + +LICENSE= GPLv2 GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-libedit Added: head/math/gnubc/files/patch-bc__bc.y ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gnubc/files/patch-bc__bc.y Tue Feb 24 15:48:26 2015 (r379816) @@ -0,0 +1,10 @@ +--- bc/bc.y.orig Sun Oct 24 10:07:01 2004 ++++ bc/bc.y Sun Oct 24 10:07:20 2004 +@@ -424,7 +424,6 @@ + generate (genstr); + $$ = 0; + } +- ; + | expression AND + { + warn("&& operator"); Added: head/math/gnubc/files/patch-bc__load.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gnubc/files/patch-bc__load.c Tue Feb 24 15:48:26 2015 (r379816) @@ -0,0 +1,11 @@ +--- bc/load.c~ 2000-09-13 11:22:38.000000000 -0700 ++++ bc/load.c 2005-08-02 11:06:00.000000000 -0700 +@@ -156,7 +156,7 @@ load_code (code) + long label_no; + long vaf_name; /* variable, array or function number. */ + long func; +- program_counter save_adr; ++ static program_counter save_adr; /* saved across calls to load_code */ + + /* Initialize. */ + str = code; Added: head/math/gnubc/files/patch-bc__main.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gnubc/files/patch-bc__main.c Tue Feb 24 15:48:26 2015 (r379816) @@ -0,0 +1,12 @@ +--- bc/main.c.orig 2006-12-01 14:30:52.000000000 -0800 ++++ bc/main.c 2006-12-01 14:31:13.000000000 -0800 +@@ -127,6 +127,9 @@ + warn_not_std = TRUE; + break; + ++ case 0: ++ break; ++ + default: + usage(argv[0]); + exit (1);