summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-extensions_spellcheck_hunspell_src_hunspell_alloc_hooks_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/firefox/patches/patch-extensions_spellcheck_hunspell_src_hunspell_alloc_hooks_h')
-rw-r--r--package/firefox/patches/patch-extensions_spellcheck_hunspell_src_hunspell_alloc_hooks_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-extensions_spellcheck_hunspell_src_hunspell_alloc_hooks_h b/package/firefox/patches/patch-extensions_spellcheck_hunspell_src_hunspell_alloc_hooks_h
new file mode 100644
index 000000000..5b361b846
--- /dev/null
+++ b/package/firefox/patches/patch-extensions_spellcheck_hunspell_src_hunspell_alloc_hooks_h
@@ -0,0 +1,11 @@
+--- mozilla-release.orig/extensions/spellcheck/hunspell/src/hunspell_alloc_hooks.h 2013-09-11 01:15:00.000000000 +0200
++++ mozilla-release/extensions/spellcheck/hunspell/src/hunspell_alloc_hooks.h 2013-10-24 11:28:30.000000000 +0200
+@@ -33,6 +33,8 @@
+
+ #ifndef alloc_hooks_h__
+ #define alloc_hooks_h__
++/* prevent free/calloc from sched.h to be included */
++#undef _GNU_SOURCE
+
+ /**
+ * This file is force-included in hunspell code. Its purpose is to add memory