[Buildroot] gutenprint: fix host build when libusb found
Baruch Siach
baruch at tkos.co.il
Fri Apr 15 04:49:09 UTC 2016
Hi Waldemar,
On Sat, Apr 02, 2016 at 08:47:33PM +0200, Waldemar Brodkorb wrote:
> Allow to disable USB support, otherwise host build breaks when
> libusb is found as installation tries to install to /usr.
> Fixes following autobuild error:
> http://autobuild.buildroot.net/results/081b3be918ac1eaa8cfbc5919e00bc1ea267c1df/
>
> Signed-off-by: Waldemar Brodkorb <wbx at openadk.org>
Tested-by: Baruch Siach <baruch at tkos.co.il>
> ---
> .../0004-build-usb-backends-conditional.patch | 23 ++++++++++++++++++++++
> package/gutenprint/gutenprint.mk | 1 +
> 2 files changed, 24 insertions(+)
> create mode 100644 package/gutenprint/0004-build-usb-backends-conditional.patch
>
> diff --git a/package/gutenprint/0004-build-usb-backends-conditional.patch b/package/gutenprint/0004-build-usb-backends-conditional.patch
> new file mode 100644
> index 0000000..db44a12
> --- /dev/null
> +++ b/package/gutenprint/0004-build-usb-backends-conditional.patch
> @@ -0,0 +1,23 @@
> +Allow to disable USB backend
> +
> +Signed-off-by: Waldemar Brodkorb <wbx at openadk.org>
Have you tried to upstream this patch?
Since we would now be patching also configure.ac, please updated the
AUTORECONF comment in gutenprint.mk.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the buildroot
mailing list