Date: Tue, 24 Feb 2015 15:48:27 +0000 (UTC) From: Gabor Kovesdan <gabor@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379816 - in head/math/gnubc: . files Message-ID: <201502241548.t1OFmRNC080519@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502241548.t1OFmRNC080519>