freebsd-ports/math/physcalc/files/patch-aa
Will Andrews 76a432dd93 Add physcalc (unversioned), an extremely old (apparently first written
in 1990), but still quite useful and flexible calculator.  Basically it's
units(1) on steroids.  Also added patches to make physcalc secure (who
knows, someone might make a cgi interface to it); also allowed it to
actually read its *.phy files in another directory.

Submitted/Requested by:	gsutter
gets() -> fgets() code:	eivind
SHAREDIR code:		Marius Bendiksen <mbendiks@eunet.no>
2000-08-27 23:32:03 +00:00

14 lines
319 B
Plaintext

--- physcalc.h Sun Aug 27 17:46:31 2000
+++ physcalc.h.new Sun Aug 27 17:46:57 2000
@@ -22,6 +22,10 @@
#error This program requires more memory than the tiny model allows!
#endif
+#ifndef SHAREDIR
+#define SHAREDIR "/usr/share/physcalc/"
+#endif
+
#define VERSION "2.4" /* Version number */
#define TRACE