Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37757836
en ru br
ALT Linux repos
S:3.23.1-alt2
5.0: 2.37-alt1
4.1: 2.37-alt1

Group :: System/Servers
RPM: gpsd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: gpsd-apistatus.patch
Download


diff --git a/include/gps.h b/include/gps.h
index 55b9aa621..e5935304d 100644
--- a/include/gps.h
+++ b/include/gps.h
@@ -173,6 +173,11 @@ struct gps_fix_t {
  * PPS is the encrypted military P(Y)-code */
 #define STATUS_PPS_FIX  9
 
+// Old status names for compatibility
+#define STATUS_NO_FIX   STATUS_UNK
+#define STATUS_FIX      STATUS_GPS
+#define STATUS_DGPS_FIX STATUS_DGPS
+
     double ept;         /* Expected time uncertainty, seconds */
     double latitude;    /* Latitude in degrees (valid if mode >= 2) */
     double epy;         /* Latitude position uncertainty, meters */
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin