drop unneeded API-compatibility patch
This commit is contained in:
parent
1ad8488a12
commit
b93fae760d
@ -1,16 +0,0 @@
|
|||||||
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
|
|
@ -18,9 +18,6 @@ URL: https://gpsd.gitlab.io/gpsd/index.html
|
|||||||
Source0: https://download-mirror.savannah.gnu.org/releases/gpsd/%{name}-%{version}.tar.gz
|
Source0: https://download-mirror.savannah.gnu.org/releases/gpsd/%{name}-%{version}.tar.gz
|
||||||
Source11: gpsd.sysconfig
|
Source11: gpsd.sysconfig
|
||||||
|
|
||||||
# Add old status names to gps.h for compatibility
|
|
||||||
Patch1: gpsd-apistatus.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: dbus-devel
|
BuildRequires: dbus-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
@ -138,7 +135,6 @@ do not reference it or depend on it in any way.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -P 1 -p1 -b .apistatus
|
|
||||||
|
|
||||||
# don't try reloading systemd when installing in the build root
|
# don't try reloading systemd when installing in the build root
|
||||||
sed -i 's|systemctl daemon-reload|true|' SConscript
|
sed -i 's|systemctl daemon-reload|true|' SConscript
|
||||||
|
Loading…
Reference in New Issue
Block a user