Tags: patch

Matt,

Here's a patch to fix the kFreeBSD build. Please apply when you get a chance.

Thanks,
Scott
diff -Nru concordance-1.1/debian/changelog concordance-1.1/debian/changelog
--- concordance-1.1/debian/changelog    2014-04-23 20:27:59.000000000 -0400
+++ concordance-1.1/debian/changelog    2014-09-14 19:53:00.000000000 -0400
@@ -1,3 +1,9 @@
+concordance (1.1-2) unstable; urgency=medium
+
+  * Fix kFreeBSD build - use hidapi which is now available (Closes: #754686)
+
+ -- Scott Talbert <s...@techie.net>  Sun, 14 Sep 2014 19:49:08 -0400
+
 concordance (1.1-1) unstable; urgency=medium
 
   * New upstream release. (Closes: #743051)
diff -Nru concordance-1.1/debian/control concordance-1.1/debian/control
--- concordance-1.1/debian/control      2014-04-17 17:10:29.000000000 -0400
+++ concordance-1.1/debian/control      2014-09-14 15:24:50.000000000 -0400
@@ -3,7 +3,7 @@
 Priority: optional
 Homepage: http://sourceforge.net/projects/concordance
 Maintainer: Mathieu Trudel-Lapierre <mathieu...@gmail.com>
-Build-Depends: debhelper (>= 9), libusb-dev [!linux-any], libhidapi-dev 
[linux-any], python-all-dev (>= 2.6.6-3~), pkg-config, libzip-dev, dh-autoreconf
+Build-Depends: debhelper (>= 9), libusb-dev [hurd-any], libhidapi-dev 
[linux-any kfreebsd-any], python-all-dev (>= 2.6.6-3~), pkg-config, libzip-dev, 
dh-autoreconf
 Standards-Version: 3.9.5
 
 Package: concordance
diff -Nru concordance-1.1/debian/patches/handle_kfreebsd_hurd.patch 
concordance-1.1/debian/patches/handle_kfreebsd_hurd.patch
--- concordance-1.1/debian/patches/handle_kfreebsd_hurd.patch   2014-04-17 
16:30:49.000000000 -0400
+++ concordance-1.1/debian/patches/handle_kfreebsd_hurd.patch   2014-09-14 
15:21:31.000000000 -0400
@@ -1,6 +1,6 @@
 From: Mathieu Trudel-Lapierre <mathieu...@gmail.com>
 Subject: Handle build on kfreebsd and hurd platforms.
-Last-Update: 2014-04-17
+Last-Update: 2014-09-14
 
 ---
  libconcord/configure.ac |   10 ++++++++++
@@ -14,9 +14,9 @@
      AC_DEFINE([WANT_HIDAPI], [1], [Want hidapi])
      LIBCONCORD_LDFLAGS="-l$USBLIB -lwsock32 -no-undefined"
      ;;
-+  k*bsd-gnu*)
-+    USBLIB="usb"
-+    AC_DEFINE([WANT_LIBUSB], [1], [Want libusb])
++  k*bsd*-gnu)
++    USBLIB="hidapi"
++    AC_DEFINE([WANT_HIDAPI], [1], [Want hidapi])
 +    LIBCONCORD_LDFLAGS="-l$USBLIB"
 +    ;;
 +  gnu*)

Reply via email to