[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#736608: qthid-fcd-controller: FTBFS on kfreebsd



Control: tags -1 + patch

Hi,

This could be fixed by building hid-libusb.c on kfreebsd-any.  I
don't know a specific qmake platform specifier for this, but the
patch below (unix but not linux) seems to work nicely, and with
some luck it might work for GNU/Hurd too.

Don't have a Funcube Dongle to test with, however...

--- a/qthid.pro        2014-01-29 02:27:39.000000000 +0000
+++ b/qthid.pro        2014-01-29 02:43:59.747094173 +0000
@@ -65,6 +65,10 @@
 #    SOURCES += hid-libusb.c
     LIBS += -ludev
     SOURCES += hidraw.c
+} else:unix {
+    CONFIG += link_pkgconfig
+    PKGCONFIG += libusb-1.0
+    SOURCES += hid-libusb.c
 }
 
 RESOURCES += \

Thanks,
-- 
Steven Chamberlain
steven@pyro.eu.org


Reply to: