diff options
-rw-r--r-- | recipes-core/expat/expat/disable_mmap.patch | 13 | ||||
-rw-r--r-- | recipes-core/expat/expat_2.1.0.bbappend | 4 |
2 files changed, 17 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 diff --git a/recipes-core/expat/expat_2.1.0.bbappend b/recipes-core/expat/expat_2.1.0.bbappend new file mode 100644 index 0000000..4bc3086 --- /dev/null +++ b/recipes-core/expat/expat_2.1.0.bbappend @@ -0,0 +1,4 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +#Dirty hack not to use sys/mmap.h under mingw which doesn't exist +SRC_URI_append_mingw32 = " file://disable_mmap.patch" |