aboutsummaryrefslogtreecommitdiff
path: root/math/gdcalc/files
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-07-12 19:34:04 +0000
committerPatrick Li <pat@FreeBSD.org>2002-07-12 19:34:04 +0000
commit32653b7e982f8038036b151bedf36e2b8efecbda (patch)
tree821111f9c7ffd9bf5c1ce374f6e21e77864667bb /math/gdcalc/files
parent7204ee94e8b581bfbcb5b2d676b2e00a8589af01 (diff)
downloadports-32653b7e982f8038036b151bedf36e2b8efecbda.tar.gz
ports-32653b7e982f8038036b151bedf36e2b8efecbda.zip
Notes
Diffstat (limited to 'math/gdcalc/files')
-rw-r--r--math/gdcalc/files/patch-src::dcalc.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/gdcalc/files/patch-src::dcalc.c b/math/gdcalc/files/patch-src::dcalc.c
new file mode 100644
index 000000000000..1d6a2c591136
--- /dev/null
+++ b/math/gdcalc/files/patch-src::dcalc.c
@@ -0,0 +1,20 @@
+--- src/dcalc.c.orig Fri Jul 12 15:26:18 2002
++++ src/dcalc.c Fri Jul 12 15:26:06 2002
+@@ -3247,7 +3247,7 @@
+ oldX = 1.0;
+
+ sprintf(fromarg, "%f %s", oldX, from);
+- argv[0] = "units";
++ argv[0] = "gunits";
+ argv[1] = "-o %.20g";
+ argv[2] = fromarg;
+ argv[3] = to;
+@@ -3296,7 +3296,7 @@
+ does not use stderr! */
+ msg("Bad units");
+ else
+- msg("Can't find the units program - please install it!");
++ msg("Can't find the gunits program - please install it!");
+
+ fclose(p); /* no need to close fd[1] too */
+ }