summaryrefslogtreecommitdiffstats
path: root/libevent-2.0.10-stable-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libevent-2.0.10-stable-configure.patch')
-rw-r--r--libevent-2.0.10-stable-configure.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/libevent-2.0.10-stable-configure.patch b/libevent-2.0.10-stable-configure.patch
new file mode 100644
index 0000000..a53dd40
--- /dev/null
+++ b/libevent-2.0.10-stable-configure.patch
@@ -0,0 +1,25 @@
+diff -up libevent-2.0.12-stable/configure.in.orig libevent-2.0.12-stable/configure.in
+--- libevent-2.0.12-stable/configure.in.orig 2011-06-03 15:43:34.000000000 -0400
++++ libevent-2.0.12-stable/configure.in 2011-08-02 10:23:25.713704595 -0400
+@@ -341,8 +341,6 @@ AC_CHECK_FUNC(gethostbyname_r, [
+
+ fi
+
+-AC_CHECK_SIZEOF(long)
+-
+ AC_MSG_CHECKING(for F_SETFD in fcntl.h)
+ AC_EGREP_CPP(yes,
+ [
+@@ -519,12 +517,7 @@ AC_CHECK_TYPES([fd_mask], , ,
+ #include <sys/select.h>
+ #endif])
+
+-AC_CHECK_SIZEOF(long long)
+-AC_CHECK_SIZEOF(long)
+-AC_CHECK_SIZEOF(int)
+-AC_CHECK_SIZEOF(short)
+ AC_CHECK_SIZEOF(size_t)
+-AC_CHECK_SIZEOF(void *)
+
+ AC_CHECK_TYPES([struct in6_addr, struct sockaddr_in6, sa_family_t, struct addrinfo, struct sockaddr_storage], , ,
+ [#define _GNU_SOURCE