summaryrefslogtreecommitdiff
path: root/user/arcticfox/hunspell.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-19 00:55:22 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-24 22:58:55 -0600
commit12f56f81029c0c0720730d2edc85b0c13b00b645 (patch)
treee3e08b3d783e59bbc4c286060b8e789ce0819382 /user/arcticfox/hunspell.patch
parent0f8c40ac77d1bc7ad0ba861f771bdd1207148ca2 (diff)
downloadpackages-12f56f81029c0c0720730d2edc85b0c13b00b645.tar.gz
packages-12f56f81029c0c0720730d2edc85b0c13b00b645.tar.bz2
packages-12f56f81029c0c0720730d2edc85b0c13b00b645.tar.xz
packages-12f56f81029c0c0720730d2edc85b0c13b00b645.zip
user/arcticfox: New package
This browser would not be necessary if Firefox worked on the PPCs. Tested on 32-bit and 64-bit PowerPC.
Diffstat (limited to 'user/arcticfox/hunspell.patch')
-rw-r--r--user/arcticfox/hunspell.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/arcticfox/hunspell.patch b/user/arcticfox/hunspell.patch
new file mode 100644
index 000000000..9fa23eeb5
--- /dev/null
+++ b/user/arcticfox/hunspell.patch
@@ -0,0 +1,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"
+