diff options
| author | Rosen Penev <rosenp@gmail.com> | 2020-08-11 12:28:53 -0700 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2020-08-11 12:38:12 -0700 |
| commit | 14668df74bee94378bfebbe0b6d8c40382340717 (patch) | |
| tree | c39d4e341afe46a81482a7f88da16e3a46348c35 /olsrd | |
| parent | 8f9aa112b54492964c00ebe6404e53eb869b0404 (diff) | |
olsrd: fix compilation with musl 1.2.x
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'olsrd')
| -rw-r--r-- | olsrd/Makefile | 2 | ||||
| -rw-r--r-- | olsrd/patches/010-musl.patch | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/olsrd/Makefile b/olsrd/Makefile index 7eb05e9..8a2f33a 100644 --- a/olsrd/Makefile +++ b/olsrd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=olsrd PKG_SOURCE_DATE:=2020-06-18 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/OLSR/olsrd.git diff --git a/olsrd/patches/010-musl.patch b/olsrd/patches/010-musl.patch new file mode 100644 index 0000000..3023f43 --- /dev/null +++ b/olsrd/patches/010-musl.patch @@ -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; |
