summaryrefslogtreecommitdiff
path: root/graphics/GMT/patches/patch-av
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/GMT/patches/patch-av')
-rw-r--r--graphics/GMT/patches/patch-av13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/GMT/patches/patch-av b/graphics/GMT/patches/patch-av
new file mode 100644
index 00000000000..bb09c47d280
--- /dev/null
+++ b/graphics/GMT/patches/patch-av
@@ -0,0 +1,13 @@
+$NetBSD: patch-av,v 1.1 2001/01/27 08:16:02 jtb Exp $
+
+--- src/x_system/x_solve_dc_drift.c.orig Sun Dec 10 14:02:39 2000
++++ src/x_system/x_solve_dc_drift.c
+@@ -354,7 +354,7 @@
+
+ if (n_iterations == 0) {
+ printf ("One more iteration?: ");
+- gets(string);
++ fgets(string, sizeof(string), stdin);
+ if (string[0] == 'N' || string[0] == 'n') ok = FALSE;
+ }
+ else if (iteration >= n_iterations)