lighttpd: fix reading from block devices, enable mmap
[opendreambox.git] / meta-opendreambox / recipes-extended / lighttpd / lighttpd / 0001-configure.ac-force-enable-sendfile-when-cross-compil.patch
1 From 2fa1fa820c327b26ec38d6d786be26b54c0ef3eb Mon Sep 17 00:00:00 2001
2 From: Andreas Oberritter <obi@opendreambox.org>
3 Date: Sun, 17 Aug 2014 22:08:41 +0200
4 Subject: [PATCH] configure.ac: force enable sendfile when cross-compiling
5
6 Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
7 ---
8  configure.ac | 3 +--
9  1 file changed, 1 insertion(+), 2 deletions(-)
10
11 diff --git a/configure.ac b/configure.ac
12 index 25e6b71..34f42f4 100644
13 --- a/configure.ac
14 +++ b/configure.ac
15 @@ -631,8 +631,7 @@ if test "x$ac_cv_func_sendfile" = xyes; then
16                     [ AC_MSG_RESULT(no)
17                     AC_DEFINE([HAVE_SENDFILE_BROKEN], [1], [broken sendfile]) ] )
18         else
19 -             AC_MSG_RESULT(no, cross-compiling)
20 -             AC_DEFINE([HAVE_SENDFILE_BROKEN], [1], [broken sendfile])
21 +             AC_MSG_RESULT(yes, cross-compiling)
22         fi
23  fi
24