aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/expat/expat/disable_mmap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/expat/expat/disable_mmap.patch')
-rw-r--r--recipes-core/expat/expat/disable_mmap.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-core/expat/expat/disable_mmap.patch b/recipes-core/expat/expat/disable_mmap.patch
new file mode 100644
index 0000000..95932c6
--- /dev/null
+++ b/recipes-core/expat/expat/disable_mmap.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.in b/configure.in
+index 7e968c4..7d442f2 100644
+--- a/configure.in
++++ b/configure.in
+@@ -99,7 +99,7 @@ AC_TYPE_OFF_T
+ AC_FUNC_MMAP
+
+ if test "$ac_cv_func_mmap_fixed_mapped" = "yes"; then
+- FILEMAP=unixfilemap
++ FILEMAP=readfilemap
+ else
+ FILEMAP=readfilemap
+ fi