Use default FD_SETSIZE.
This commit is contained in:
parent
88d20077a4
commit
b7afc481de
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.52 2010/11/06 16:07:00 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.53 2010/11/17 08:34:06 ajacoutot Exp $
|
||||
|
||||
COMMENT-main= MS Exchange groupware suite replacement
|
||||
COMMENT-web= zarafa webaccess frontend and MAPI extensions for PHP
|
||||
@ -6,7 +6,7 @@ COMMENT-web= zarafa webaccess frontend and MAPI extensions for PHP
|
||||
PKGNAME-main= zarafa-${V}
|
||||
PKGNAME-web= zarafa-webaccess-${V}
|
||||
|
||||
REVISION-main= 4
|
||||
REVISION-main= 5
|
||||
|
||||
CATEGORIES= mail www productivity
|
||||
|
||||
|
@ -1,14 +1,15 @@
|
||||
$OpenBSD: patch-common_platform_h,v 1.4 2010/06/30 02:46:48 ajacoutot Exp $
|
||||
--- common/platform.h.orig Mon May 31 19:28:57 2010
|
||||
+++ common/platform.h Mon Jun 14 09:16:43 2010
|
||||
@@ -53,9 +53,15 @@
|
||||
$OpenBSD: patch-common_platform_h,v 1.5 2010/11/17 08:34:06 ajacoutot Exp $
|
||||
--- common/platform.h.orig Wed Oct 20 16:16:23 2010
|
||||
+++ common/platform.h Tue Nov 16 19:13:30 2010
|
||||
@@ -53,9 +53,16 @@
|
||||
|
||||
// We have to include this now in case select.h is included too soon.
|
||||
// Increase our maximum amount of file descriptors to 8192
|
||||
+#if OPENBSD
|
||||
+ #include <sys/types.h>
|
||||
+ #undef FD_SETSIZE
|
||||
+ #define FD_SETSIZE 1024
|
||||
+ #include <sys/select.h>
|
||||
+ #undef __FD_SETSIZE
|
||||
+ #define __FD_SETSIZE FD_SETSIZE
|
||||
+#else
|
||||
#include <bits/types.h>
|
||||
#undef __FD_SETSIZE
|
||||
|
@ -1,14 +1,15 @@
|
||||
$OpenBSD: patch-common_platform_linux_h,v 1.7 2010/06/30 02:46:48 ajacoutot Exp $
|
||||
--- common/platform.linux.h.orig Mon May 31 19:28:57 2010
|
||||
+++ common/platform.linux.h Tue Jun 15 16:26:32 2010
|
||||
@@ -63,8 +63,15 @@
|
||||
$OpenBSD: patch-common_platform_linux_h,v 1.8 2010/11/17 08:34:06 ajacoutot Exp $
|
||||
--- common/platform.linux.h.orig Wed Oct 20 16:16:23 2010
|
||||
+++ common/platform.linux.h Tue Nov 16 19:15:54 2010
|
||||
@@ -63,8 +63,16 @@
|
||||
#include <dlfcn.h>
|
||||
#include <stddef.h>
|
||||
#include <libgen.h>
|
||||
+#if defined(__OpenBSD__)
|
||||
+#include <sys/endian.h>
|
||||
+#include <sys/param.h>
|
||||
+#ifndef MAX_PATH
|
||||
+ #define MAX_PATH 1024
|
||||
+ #define MAX_PATH PATH_MAX
|
||||
+#endif
|
||||
+#else
|
||||
#include <byteswap.h>
|
||||
@ -17,7 +18,7 @@ $OpenBSD: patch-common_platform_linux_h,v 1.7 2010/06/30 02:46:48 ajacoutot Exp
|
||||
#include <errno.h>
|
||||
|
||||
#include <string>
|
||||
@@ -659,7 +666,11 @@ time_t GetProcessTime();
|
||||
@@ -659,7 +667,11 @@ time_t GetProcessTime();
|
||||
|
||||
#ifndef ntohll
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
@ -29,7 +30,7 @@ $OpenBSD: patch-common_platform_linux_h,v 1.7 2010/06/30 02:46:48 ajacoutot Exp
|
||||
#else
|
||||
#define ntohll(x) (x)
|
||||
#endif
|
||||
@@ -667,14 +678,18 @@ time_t GetProcessTime();
|
||||
@@ -667,14 +679,18 @@ time_t GetProcessTime();
|
||||
|
||||
#ifndef htonll
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-provider_soap_soapdefs_h,v 1.1 2010/06/30 02:46:48 ajacoutot Exp $
|
||||
--- provider/soap/soapdefs.h.orig Mon Jun 28 23:56:18 2010
|
||||
+++ provider/soap/soapdefs.h Mon Jun 28 23:58:26 2010
|
||||
@@ -2,12 +2,20 @@
|
||||
$OpenBSD: patch-provider_soap_soapdefs_h,v 1.2 2010/11/17 08:34:06 ajacoutot Exp $
|
||||
--- provider/soap/soapdefs.h.orig Wed Oct 20 16:16:21 2010
|
||||
+++ provider/soap/soapdefs.h Tue Nov 16 19:14:12 2010
|
||||
@@ -2,12 +2,19 @@
|
||||
#define SOAPDEFS_H_
|
||||
|
||||
/* we want soap to use strtod_l */
|
||||
@ -13,8 +13,7 @@ $OpenBSD: patch-provider_soap_soapdefs_h,v 1.1 2010/06/30 02:46:48 ajacoutot Exp
|
||||
|
||||
+#ifdef __OpenBSD__
|
||||
+#include <sys/types.h>
|
||||
+#undef FD_SETSIZE
|
||||
+#define FD_SETSIZE 1024
|
||||
+#include <sys/select.h>
|
||||
+#else
|
||||
#include <bits/types.h>
|
||||
#undef __FD_SETSIZE
|
||||
|
Loading…
Reference in New Issue
Block a user