diff --git a/cad/spice/Makefile b/cad/spice/Makefile index 5c2188b48cc3..2410ef6df787 100644 --- a/cad/spice/Makefile +++ b/cad/spice/Makefile @@ -7,7 +7,7 @@ PORTNAME= spice PORTVERSION= 3f5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad MASTER_SITES= ftp://ic.eecs.berkeley.edu/pub/Spice3/ DISTNAME= sp3f4.kit diff --git a/cad/spice/files/patch-src_lib_fte_misccoms_c b/cad/spice/files/patch-src_lib_fte_misccoms_c new file mode 100644 index 000000000000..7a9b3aaa5fdd --- /dev/null +++ b/cad/spice/files/patch-src_lib_fte_misccoms_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_lib_fte_misccoms_c,v 1.1 2003/04/14 10:28:03 avsm Exp $ +--- src/lib/fte/misccoms.c.orig Mon Apr 14 11:19:24 2003 ++++ src/lib/fte/misccoms.c Mon Apr 14 11:21:00 2003 +@@ -286,7 +286,7 @@ com_quit(wl) + fprintf(cp_out, + "\nAre you sure you want to quit (yes)? "); + (void) fflush(cp_out); +- if (!fgets(buf, BSIZE_SP, stdin)) { ++ if (!fgets(buf, sizeof buf, stdin)) { + clearerr(stdin); + *buf = 'y'; + }