Package: xburst-tools
Version: 201206-01
Severity: serious
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

On kfreebsd, libusb-dev cannot be used together with libusb-1.0-0-dev,
causing this package to FTBFS.

With the change below, and the attached patch, it seems possible
to use libusb2-dev instead - though I've no suitable hardware to test
the package with:

--- debian/control.orig 2013-02-07 13:57:55.000000000 +0000
+++ debian/control      2014-03-30 16:46:51.316386682 +0100
@@ -4,7 +4,7 @@
 Maintainer: Xiangfu Liu <xian...@sharism.cc>
 Build-Depends: debhelper (>= 9),
        pkg-config, autoconf, automake,
-       libusb-dev, libconfuse-dev, libusb-1.0-0-dev,
+       libusb2-dev, libconfuse-dev,
        libreadline-dev
 Build-Conflicts: automake1.4
 Standards-Version: 3.9.4

Thanks for considering.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64-xenhvm
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: xburst-tools-201206/xbboot/host-app/host_main.c
===================================================================
--- xburst-tools-201206.orig/xbboot/host-app/host_main.c	2013-02-07 13:50:55.000000000 +0000
+++ xburst-tools-201206/xbboot/host-app/host_main.c	2014-03-30 17:14:41.797387019 +0100
@@ -13,6 +13,7 @@
 #include <string.h>
 #include <usb.h>
 #include <time.h>
+#include <stdlib.h>
 #include "xburst-tools-config.h"
 
 #define HIWORD(dw)	(((dw) >> 16) & 0xFFFF)
Index: xburst-tools-201206/jzboot/src/usbdev.c
===================================================================
--- xburst-tools-201206.orig/jzboot/src/usbdev.c	2013-02-07 13:50:55.000000000 +0000
+++ xburst-tools-201206/jzboot/src/usbdev.c	2014-03-30 17:15:30.190389097 +0100
@@ -19,6 +19,7 @@
 
 #include <errno.h>
 #include <libusb.h>
+#include <stdlib.h>
 
 #include "usbdev.h"
 #include "debug.h"

Reply via email to