mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 21:24:32 +04:00
olsrd: fix compilation with musl 1.2.x
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=olsrd
|
PKG_NAME:=olsrd
|
||||||
PKG_SOURCE_DATE:=2020-06-18
|
PKG_SOURCE_DATE:=2020-06-18
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://github.com/OLSR/olsrd.git
|
PKG_SOURCE_URL:=https://github.com/OLSR/olsrd.git
|
||||||
|
|||||||
11
olsrd/patches/010-musl.patch
Normal file
11
olsrd/patches/010-musl.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/lib/pud/nmealib/src/info.c
|
||||||
|
+++ b/lib/pud/nmealib/src/info.c
|
||||||
|
@@ -172,7 +172,7 @@ bool nmeaTimeParseDate(const char *s, NmeaTime *date) {
|
||||||
|
void nmeaTimeSet(NmeaTime *utc, uint32_t *present, struct timeval *timeval) {
|
||||||
|
struct timeval tv;
|
||||||
|
struct tm tm;
|
||||||
|
- long usec;
|
||||||
|
+ time_t usec;
|
||||||
|
|
||||||
|
if (!utc) {
|
||||||
|
return;
|
||||||
Reference in New Issue
Block a user