[argyllcms] Re: FreeBSD, USB: use system library

  • From: Boris Samorodov <bsam@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Tue, 26 Feb 2013 23:21:28 +0400

26.02.2013 17:01, Graeme Gill пишет:
> Boris Samorodov wrote:
> 
>> Actually I'd love to use your code/drivers but I failed to build
>> 1.4.0-release at FreeBSD )until I just copy the system's libusb.a
>> to your SRC/libusb directory). Then and only then the build succeeded.
> 
> I'll have to take a look at it.

Well, finally I managed to compile 1.4.0-release. That patch is
attached. Is the patch OK?

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
--- libusb/bsd.c.orig   2013-02-26 23:08:40.000000000 +0400
+++ libusb/bsd.c        2013-02-26 23:09:49.000000000 +0400
@@ -39,7 +39,7 @@
 #include <sys/time.h>
 #include <sys/ioctl.h>
 
-#include <legacy/dev/usb/usb.h>
+#include <usb.h>
 
 #include "usbi.h"
 #ifdef HAVE_CONFIG_H

Other related posts: