summaryrefslogblamecommitdiff
path: root/user/arcticfox/hunspell.patch
blob: 9fa23eeb598d3e5f1bf16dfed77327661d83e14f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                                                           
On musl libc, #define free is dangerous.

Upstream-URL: https://github.com/rmottola/Arctic-Fox/issues/100

--- Arctic-Fox-45.1/extensions/spellcheck/hunspell/glue/hunspell_alloc_hooks.h.old	2024-09-30 19:54:44.000000000 +0000
+++ Arctic-Fox-45.1/extensions/spellcheck/hunspell/glue/hunspell_alloc_hooks.h	2024-10-22 21:46:00.494798524 +0000
@@ -47,6 +47,8 @@
  * allocated using C memory allocation functions.
  */
 
+#include <sched.h>
+#include "mozilla/Logging.h"
 #include "mozilla/mozalloc.h"
 #include "mozHunspellAllocator.h"