[argyllcms] Re: ArgyllCMS V1.1.0 RC1 is now available

  • From: Roland Mas <lolando@xxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Mon, 09 Nov 2009 12:02:36 +0100

Richard Hughes, 2009-11-09 10:19:29 +0000 :

> Sure, but automake is the #1 build system that works on Linux, *BSD,
> and Solaris, which I'm guessing is the vast majority of your userbase
> right now.

Speaking of *BSD, here's a little patch that allows building on FreeBSD
kernels even if the userland is GNU (such as in the Debian GNU/kFreeBSD
ports for i386 and amd64).

=== modified file 'spectro/hidio.c'
--- spectro/hidio.c     2009-11-06 16:34:36 +0000
+++ spectro/hidio.c     2009-11-09 10:39:21 +0000
@@ -51,7 +51,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
-#ifdef __FreeBSD__ 
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #include <sys/types.h> 
 #include <usbhid.h> 
 #else  /* assume Linux */ 

Roland.
-- 
Roland Mas

Just because you're dead doesn't mean they aren't still out to get you.
  -- Virgil, in Ye Gods! (Tom Holt)

Other related posts: