The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / thrift / 0001-libevent-cross.patch
1 Make it cross-compile happy the hard way, there's no clean way.
2
3 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
4
5 diff -Nura thrift-0.9.1.orig/aclocal/ax_lib_event.m4 thrift-0.9.1/aclocal/ax_lib_event.m4
6 --- thrift-0.9.1.orig/aclocal/ax_lib_event.m4   2013-08-15 11:04:29.000000000 -0300
7 +++ thrift-0.9.1/aclocal/ax_lib_event.m4        2013-10-07 20:40:44.076435613 -0300
8 @@ -75,7 +75,7 @@
9            AC_LANG_PUSH([C])
10            dnl This can be changed to AC_LINK_IFELSE if you are cross-compiling,
11            dnl but then the version cannot be checked.
12 -          AC_RUN_IFELSE([AC_LANG_PROGRAM([[
13 +          AC_LINK_IFELSE([AC_LANG_PROGRAM([[
14            #include <sys/types.h>
15            #include <event.h>
16            ]], [[