diff options
author | Milan P. Stanić <mps@arvanta.net> | 2019-11-16 22:54:48 +0100 |
---|---|---|
committer | Milan P. Stanić <mps@arvanta.net> | 2019-11-16 22:57:14 +0100 |
commit | 95dfaee92f485567b2bebbef22963fd6dd51bb68 (patch) | |
tree | 08501f5102c5aa00dad7cc37f4dd97fc0854601a /community/iwd/fix-rawmemchr.patch | |
parent | dc4a3ccf9a42f3bdaf8ed9e3542749c7266aeae0 (diff) | |
download | aports-95dfaee92f485567b2bebbef22963fd6dd51bb68.tar.bz2 aports-95dfaee92f485567b2bebbef22963fd6dd51bb68.tar.xz |
community/iwd: upgrade to 1.1
add patch to fix rawmemchr which is missing in musl, afaik
add local /etc/iwd/main.conf file because it is remove upstream
Diffstat (limited to 'community/iwd/fix-rawmemchr.patch')
-rw-r--r-- | community/iwd/fix-rawmemchr.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/iwd/fix-rawmemchr.patch b/community/iwd/fix-rawmemchr.patch new file mode 100644 index 0000000000..5ea018bd34 --- /dev/null +++ b/community/iwd/fix-rawmemchr.patch @@ -0,0 +1,11 @@ +--- a/src/wiphy.c 2019-11-14 21:04:59.000000000 +0100 ++++ b/src/wiphy.c 2019-11-16 21:51:47.458144885 +0100 +@@ -500,7 +500,7 @@ + + if (out_num) + *out_num = +- (uint8_t *) rawmemchr(wiphy->supported_rates[band], 0) - ++ (uint8_t *) strchr(wiphy->supported_rates[band], 0) - + wiphy->supported_rates[band]; + + return wiphy->supported_rates[band]; |