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 / openobex / 0001-libusb_check_when_cross-compiling.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/openobex/0001-libusb_check_when_cross-compiling.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/openobex/0001-libusb_check_when_cross-compiling.patch
new file mode 100644 (file)
index 0000000..7b8056a
--- /dev/null
@@ -0,0 +1,18 @@
+Fix libusb check when cross-compiling.
+
+Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
+Signed-off-by: Samuel Martin <s.martin49@gmail.com>
+
+Index: openobex-1.5/acinclude.m4
+===================================================================
+--- openobex-1.5.orig/acinclude.m4     2010-06-16 10:32:47.000000000 +0200
++++ openobex-1.5/acinclude.m4  2010-06-16 10:35:33.000000000 +0200
+@@ -158,7 +158,7 @@
+               ;;
+       *)
+               PKG_CHECK_MODULES(USB, libusb, usb_lib_found=yes, AC_MSG_RESULT(no))
+-              AC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc, REQUIRES="libusb")
++              REQUIRES="libusb"
+               ;;
+       esac
+       AC_SUBST(USB_CFLAGS)