ports/comms/predict/files/patch-predict.c
Diane Bruce 730d2d9c02 comms/predict: update to 2.3.1
[upstream changes]
Release 2.3.1:
By John A. Magliacane <kd2bd@amsat.org> (05-Aug-2023):

* Fixed a bug that caused the "Upcoming Passes" list in Multi-Satellite
  tracking mode to occasionally produce erroneous results if one or
  more satellites in the database had decayed from orbit.

* The Vocalizer feature was modified to prevent it from being executed
  by a user keyboard command until after the current speech announcement
  has terminated.

* The earthtrack compilation script was modified to prevent the
  "undefined reference" errors some users experienced during the
  linking phase of the compilation process.

* All references to www.celestrak.com in the "kepupdate" script have
  been changed to celestrak.org due to the site's name change.

* Several other small coding changes were made.

----------------------------------------------------------------------------

[db changes]

- Upstream does not come with a proper build infrastructure hence
  build is done in our port Makefile now instead of copied Makefile.
- portlint and portfmt ran clearly as did poudriere.
- Added earthtrack, kepupdate and moontracker binaries
  but did not add gsat which should be a separate port IMO

PR:		277986
Reported by:	Andrey Korobkov <alster@vinterdalen.se>
2024-04-04 16:30:18 -04:00

18 lines
365 B
C

--- predict.c.orig 2023-08-05 15:33:14 UTC
+++ predict.c
@@ -30,6 +30,7 @@
#include <assert.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/stat.h>
#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>
@@ -6839,7 +6840,6 @@ void NewUser (void)
void NewUser (void)
{
- int *mkdir();
Banner();
attrset(COLOR_PAIR(3)|A_BOLD);