mirror of
https://github.com/openwrt/packages.git
synced 2026-01-09 19:31:21 +00:00
dovecot: import from packages
Signed-off-by: Peter Wagner <tripolar@gmx.at>
This commit is contained in:
31
mail/dovecot/patches/001-configure_in.patch
Normal file
31
mail/dovecot/patches/001-configure_in.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -504,9 +504,9 @@ have_ioloop=no
|
||||
|
||||
if test "$ioloop" = "best" || test "$ioloop" = "epoll"; then
|
||||
AC_CACHE_CHECK([whether we can use epoll],i_cv_epoll_works,[
|
||||
- AC_TRY_RUN([
|
||||
+ AC_TRY_LINK([
|
||||
#include <sys/epoll.h>
|
||||
-
|
||||
+ ], [
|
||||
int main()
|
||||
{
|
||||
return epoll_create(5) < 1;
|
||||
@@ -675,7 +675,7 @@ fi
|
||||
dnl * Old glibcs have broken posix_fallocate(). Make sure not to use it.
|
||||
dnl * It may also be broken in AIX.
|
||||
AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[
|
||||
- AC_TRY_RUN([
|
||||
+ AC_TRY_LINK([
|
||||
#define _XOPEN_SOURCE 600
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -684,6 +684,7 @@ AC_CACHE_CHECK([whether posix_fallocate(
|
||||
#if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7)
|
||||
possibly broken posix_fallocate
|
||||
#endif
|
||||
+ ], [
|
||||
int main() {
|
||||
int fd = creat("conftest.temp", 0600);
|
||||
int ret;
|
||||
Reference in New Issue
Block a user