Patchwork [meta-mingw,1/3] common-mingw: force ac_cv_func_mmap_fixed_mapped=no

login
register
mail settings
Submitter Richard Tollerton
Date July 7, 2014, 2:23 a.m.
Message ID <1404699810-23745-2-git-send-email-rich.tollerton@ni.com>
Download mbox | patch
Permalink /patch/75061/
State New
Headers show

Comments

Richard Tollerton - July 7, 2014, 2:23 a.m.
The expat mingw build breaks because ix86-common defines
ac_cv_func_mmap_fixed_mapped=yes, causing the build to think that
mmap(), mman.h actually exist. Fix this by always forcing the variable
to "no", which configure would have concluded without such interference.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
---
 meta/site/common-mingw | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 meta/site/common-mingw

Patch

diff --git a/meta/site/common-mingw b/meta/site/common-mingw
new file mode 100644
index 0000000..f337c36
--- /dev/null
+++ b/meta/site/common-mingw
@@ -0,0 +1,2 @@ 
+# expat
+ac_cv_func_mmap_fixed_mapped=no