termux-packages/root-packages/wavemon/scan_scr.c.patch
Leonid Plyushch 20e53150e5
move from unstable: wavemon
Moved to root packages because it requires SELinux to be in permissive mode.
2022-04-18 14:31:17 +05:30

13 lines
368 B
Diff

diff -uNr wavemon-0.9.0/scan_scr.c wavemon-0.9.0.mod/scan_scr.c
--- wavemon-0.9.0/scan_scr.c 2018-12-30 03:08:25.000000000 +0200
+++ wavemon-0.9.0.mod/scan_scr.c 2019-07-03 16:51:31.595109371 +0300
@@ -250,7 +250,7 @@
void scr_aplst_fini(void)
{
- pthread_cancel(scan_thread);
+ pthread_kill(scan_thread, 0);
free_scan_list(sr.head);
free(sr.channel_stats);