aboutsummaryrefslogtreecommitdiffstats
path: root/net/spat/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/spat/files/patch-aa')
-rw-r--r--net/spat/files/patch-aa20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/spat/files/patch-aa b/net/spat/files/patch-aa
new file mode 100644
index 000000000000..782020f4960b
--- /dev/null
+++ b/net/spat/files/patch-aa
@@ -0,0 +1,20 @@
+--- spatd/main.c 2000/10/31 11:17:27 1.1
++++ spatd/main.c 2000/10/31 11:33:07
+@@ -48,8 +48,16 @@
+ void
+ launch_spat()
+ {
+- system("/usr/local/bin/spat &");
++ system(PREFIX "/bin/spat &");
++}
++
++#ifdef __FreeBSD__
++char *gcvt(double value, int ndigit, char *buf)
++{
++ sprintf(buf, "%.*g", ndigit, value);
++ return buf;
+ }
++#endif
+
+ void
+ show_back()