aboutsummaryrefslogtreecommitdiff
path: root/cad/spice
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-06-27 03:36:50 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-06-27 03:36:50 +0000
commit4e870334c1dd34830aebcd815413ca812009c41b (patch)
tree3503ed30cc98e35d8b1ac1cb17618f63fc292334 /cad/spice
parent6a78684feaaa5cb959945bcbb2fad88e0af3fbc2 (diff)
downloadports-4e870334c1dd34830aebcd815413ca812009c41b.tar.gz
ports-4e870334c1dd34830aebcd815413ca812009c41b.zip
Notes
Diffstat (limited to 'cad/spice')
-rw-r--r--cad/spice/Makefile2
-rw-r--r--cad/spice/files/patch-src_lib_fte_misccoms_c12
2 files changed, 13 insertions, 1 deletions
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';
+ }