1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/community/iwd/fix-rawmemchr.patch
Milan P. Stanić 95dfaee92f 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
2019-11-16 22:57:14 +01:00

11 lines
353 B
Diff

--- 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];