Browse Source

Merge pull request #9588 from RussellSenior/update-gpsd

gpsd: update to v3.19
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
812f86a729
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 44 deletions
  1. +4
    -4
      utils/gpsd/Makefile
  2. +0
    -40
      utils/gpsd/patches/010-musl.patch

+ 4
- 4
utils/gpsd/Makefile View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gpsd
PKG_VERSION:=3.17
PKG_RELEASE:=3
PKG_VERSION:=3.19
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SAVANNAH/$(PKG_NAME)
PKG_HASH:=68e0dbecfb5831997f8b3d6ba48aed812eb465d8c0089420ab68f9ce4d85e77a
PKG_HASH:=27dd24d45b2ac69baab7933da2bf6ae5fb0be90130f67e753c110a3477155f39
PKG_MAINTAINER:=Pushpal Sidhu <psidhu.devel@gmail.com>
PKG_LICENSE:=BSD-3-Clause
@ -24,7 +24,7 @@ include $(INCLUDE_DIR)/scons.mk
define Package/gpsd/Default
DEPENDS+= +libusb-1.0
URL:=http://catb.org/gpsd/
URL:=https://gpsd.gitlab.io/gpsd/
endef
define Package/gpsd/Default/description


+ 0
- 40
utils/gpsd/patches/010-musl.patch View File

@ -1,40 +0,0 @@
--- a/driver_ais.c
+++ b/driver_ais.c
@@ -24,6 +24,7 @@
/* strlcpy() needs _DARWIN_C_SOURCE */
#define _DARWIN_C_SOURCE
+#define _BSD_SOURCE
#include <stdlib.h>
#include <string.h>
--- a/gpsctl.c
+++ b/gpsctl.c
@@ -15,6 +15,7 @@
/* strlcpy() needs _DARWIN_C_SOURCE */
#define _DARWIN_C_SOURCE
+#define _BSD_SOURCE
#include <stdio.h>
#include <stdlib.h>
--- a/gpsd_json.c
+++ b/gpsd_json.c
@@ -24,6 +24,7 @@ PERMISSIONS
#define __DARWIN_C_LEVEL 200112L
/* strlcpy() needs _DARWIN_C_SOURCE */
#define _DARWIN_C_SOURCE
+#define _BSD_SOURCE
#include <stdio.h>
#include <math.h>
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -20,6 +20,7 @@
/* strlcpy() needs _DARWIN_C_SOURCE */
#define _DARWIN_C_SOURCE
+#define _BSD_SOURCE
#include <time.h>
#include <stdio.h>

Loading…
Cancel
Save