libradiotap: update to latest master
authorRosen Penev <rosenp@gmail.com>
Sat, 17 Aug 2024 02:51:15 +0000 (19:51 -0700)
committerNick Hainke <vincent@systemli.org>
Mon, 19 Aug 2024 01:16:07 +0000 (03:16 +0200)
Use PKG_SOURCE_DATE for compatibility with apk.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libradiotap/Makefile
libs/libradiotap/patches/010-format.patch [deleted file]

index 7b3789e1b3e27f4da1afa13dd797f3df7fc4cb08..0ba095abe9eb9eb01925c1937735ce90729feab9 100644 (file)
@@ -6,13 +6,13 @@
 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
diff --git a/libs/libradiotap/patches/010-format.patch b/libs/libradiotap/patches/010-format.patch
deleted file mode 100644 (file)
index e90e04f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
---- 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);