summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch')
-rw-r--r--meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch19
1 files changed, 8 insertions, 11 deletions
diff --git a/meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch b/meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch
index f86235076..3f87714dc 100644
--- a/meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch
+++ b/meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch
@@ -13,11 +13,11 @@ Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
13 configure.ac | 15 +++++---------- 13 configure.ac | 15 +++++----------
14 1 file changed, 5 insertions(+), 10 deletions(-) 14 1 file changed, 5 insertions(+), 10 deletions(-)
15 15
16diff --git a/configure.ac b/configure.ac 16Index: dovecot-2.2.36.4/configure.ac
17index 3b32614..94ec002 100644 17===================================================================
18--- a/configure.ac 18--- dovecot-2.2.36.4.orig/configure.ac
19+++ b/configure.ac 19+++ dovecot-2.2.36.4/configure.ac
20@@ -519,13 +519,10 @@ have_ioloop=no 20@@ -490,13 +490,10 @@ have_ioloop=no
21 21
22 if test "$ioloop" = "best" || test "$ioloop" = "epoll"; then 22 if test "$ioloop" = "best" || test "$ioloop" = "epoll"; then
23 AC_CACHE_CHECK([whether we can use epoll],i_cv_epoll_works,[ 23 AC_CACHE_CHECK([whether we can use epoll],i_cv_epoll_works,[
@@ -34,7 +34,7 @@ index 3b32614..94ec002 100644
34 ], [ 34 ], [
35 i_cv_epoll_works=yes 35 i_cv_epoll_works=yes
36 ], [ 36 ], [
37@@ -653,7 +650,7 @@ fi 37@@ -596,7 +593,7 @@ fi
38 dnl * Old glibcs have broken posix_fallocate(). Make sure not to use it. 38 dnl * Old glibcs have broken posix_fallocate(). Make sure not to use it.
39 dnl * It may also be broken in AIX. 39 dnl * It may also be broken in AIX.
40 AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[ 40 AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[
@@ -43,7 +43,7 @@ index 3b32614..94ec002 100644
43 #define _XOPEN_SOURCE 600 43 #define _XOPEN_SOURCE 600
44 #include <stdio.h> 44 #include <stdio.h>
45 #include <stdlib.h> 45 #include <stdlib.h>
46@@ -662,7 +659,7 @@ AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[ 46@@ -605,7 +602,7 @@ AC_CACHE_CHECK([whether posix_fallocate(
47 #if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7) 47 #if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7)
48 possibly broken posix_fallocate 48 possibly broken posix_fallocate
49 #endif 49 #endif
@@ -52,7 +52,7 @@ index 3b32614..94ec002 100644
52 int fd = creat("conftest.temp", 0600); 52 int fd = creat("conftest.temp", 0600);
53 int ret; 53 int ret;
54 if (fd == -1) { 54 if (fd == -1) {
55@@ -671,8 +668,6 @@ AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[ 55@@ -614,8 +611,6 @@ AC_CACHE_CHECK([whether posix_fallocate(
56 } 56 }
57 ret = posix_fallocate(fd, 1024, 1024) < 0 ? 1 : 0; 57 ret = posix_fallocate(fd, 1024, 1024) < 0 ? 1 : 0;
58 unlink("conftest.temp"); 58 unlink("conftest.temp");
@@ -61,6 +61,3 @@ index 3b32614..94ec002 100644
61 ], [ 61 ], [
62 i_cv_posix_fallocate_works=yes 62 i_cv_posix_fallocate_works=yes
63 ], [ 63 ], [
64--
651.8.4.2
66