summaryrefslogtreecommitdiff
path: root/comms/predict/files/patch-predict.c
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-05-25 11:50:54 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-05-25 11:50:54 +0000
commitd5eee7e8428af433c63168e99c52343c044178f3 (patch)
tree55044f2d91479114dfb6d68787b7fe3e5476fd74 /comms/predict/files/patch-predict.c
parent (1) Fix building with latest apache 2.0 (diff)
Update to 2.2.3.
PR: ports/97378 Submitted by: Diane Bruce <db@heceta.db.net> (maintainer)
Notes
Notes: svn path=/head/; revision=163359
Diffstat (limited to '')
-rw-r--r--comms/predict/files/patch-predict.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/comms/predict/files/patch-predict.c b/comms/predict/files/patch-predict.c
new file mode 100644
index 000000000000..8c76ca342342
--- /dev/null
+++ b/comms/predict/files/patch-predict.c
@@ -0,0 +1,38 @@
+--- predict.c.orig Tue May 16 20:48:30 2006
++++ predict.c Tue May 16 20:49:36 2006
+@@ -5128,7 +5128,7 @@
+
+ if ((old_visibility=='V' || old_visibility=='D') && visibility=='N')
+ {
+- sprintf(command,"%svocalizer/vocalizer eclipse &",predictpath);
++ sprintf(command,"vocalizer eclipse &",predictpath);
+ system(command);
+ eclipse_alarm=1;
+ oldtime-=0.000015*sqrt(sat_alt);
+@@ -5136,7 +5136,7 @@
+
+ if (old_visibility=='N' && (visibility=='V' || visibility=='D'))
+ {
+- sprintf(command,"%svocalizer/vocalizer sunlight &",predictpath);
++ sprintf(command,"vocalizer sunlight &",predictpath);
+ system(command);
+ eclipse_alarm=1;
+ oldtime-=0.000015*sqrt(sat_alt);
+@@ -5151,7 +5151,7 @@
+ if (sat_range_rate>0.0)
+ approaching='-';
+
+- sprintf(command,"%svocalizer/vocalizer %.0f %.0f %c %c &",predictpath,sat_azi,sat_ele,approaching,visibility);
++ sprintf(command,"vocalizer %.0f %.0f %c %c &",predictpath,sat_azi,sat_ele,approaching,visibility);
+ system(command);
+ oldtime=CurrentDaynum();
+ old_visibility=visibility;
+@@ -5273,7 +5273,7 @@
+ {
+ /* Announce LOS */
+
+- sprintf(command,"%svocalizer/vocalizer los &",predictpath);
++ sprintf(command,"vocalizer los &",predictpath);
+ system(command);
+ }
+ }