Blame SOURCES/c-ares-1.10.0-multilib.patch

655367
diff -up c-ares-1.10.0/ares_build.h.in.multilib c-ares-1.10.0/ares_build.h.in
655367
--- c-ares-1.10.0/ares_build.h.in.multilib	2013-05-13 11:40:22.697814087 +0200
655367
+++ c-ares-1.10.0/ares_build.h.in	2013-05-13 11:40:26.236813966 +0200
655367
@@ -96,7 +96,14 @@
655367
 #endif
655367
 
655367
 /* The size of `long', as computed by sizeof. */
655367
-#undef CARES_SIZEOF_LONG
655367
+#include <bits/wordsize.h>
655367
+#if __WORDSIZE == 32
655367
+#define CARES_SIZEOF_LONG 4
655367
+#elif __WORDSIZE == 64
655367
+#define CARES_SIZEOF_LONG 8
655367
+#else
655367
+#error "Unknown word size"
655367
+#endif
655367
 
655367
 /* Integral data type used for ares_socklen_t. */
655367
 #undef CARES_TYPEOF_ARES_SOCKLEN_T
655367
diff -up c-ares-1.10.0/configure.ac.multilib c-ares-1.10.0/configure.ac
655367
--- c-ares-1.10.0/configure.ac.multilib	2013-05-13 11:41:00.480812797 +0200
655367
+++ c-ares-1.10.0/configure.ac	2013-05-13 11:41:17.210812226 +0200
655367
@@ -457,7 +457,6 @@ AC_CHECK_SIZEOF(size_t)
655367
 AC_CHECK_SIZEOF(long)
655367
 AC_CHECK_SIZEOF(int)
655367
 AC_CHECK_SIZEOF(short)
655367
-CARES_CONFIGURE_LONG
655367
 AC_CHECK_SIZEOF(time_t)
655367
 
655367
 AC_CHECK_TYPE(long long,