Use PKG_SOURCE_DATE for compatibility with apk.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
include $(TOPDIR)/rules.mk
PKG_NAME:=libradiotap
-PKG_VERSION:=2020-06-22
-PKG_RELEASE:=5
+PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/radiotap/radiotap-library.git
-PKG_SOURCE_VERSION:=94984dd829a605a2d7af55241145c159607f3b30
-PKG_MIRROR_HASH:=1cd4e736534d33cc1a1a0eecce8ce1ea6a93686bf0c8f37635753eea94764bb2
+PKG_SOURCE_URL:=https://github.com/radiotap/radiotap-library
+PKG_SOURCE_DATE:=2023-10-09
+PKG_SOURCE_VERSION:=ee71d224e0faeb9ec4e198d587d4e5aac60d4afe
+PKG_MIRROR_HASH:=c829fcbaaef8ab15467b241fca331d484825bb8de1bf3a59bf29727345ec88d3
PKG_MAINTAINER:=Nick Hainke <vincent@systemli.org>
PKG_LICENSE:=ISC
+++ /dev/null
---- a/parse.c
-+++ b/parse.c
-@@ -1,3 +1,4 @@
-+#include <inttypes.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/mman.h>
-@@ -39,7 +40,7 @@ static void print_radiotap_namespace(str
- {
- switch (iter->this_arg_index) {
- case IEEE80211_RADIOTAP_TSFT:
-- printf("\tTSFT: %llu\n", le64toh(*(unsigned long long *)iter->this_arg));
-+ printf("\tTSFT: %" PRIu64 "\n", le64toh(*(uint64_t *)iter->this_arg));
- break;
- case IEEE80211_RADIOTAP_FLAGS:
- printf("\tflags: %02x\n", *iter->this_arg);