pkgsrc/sysutils/hal/patches/patch-ao
hasso 714cdcae59 * Make it work on DragonFly with FreeBSD backend. It's largely untested,
but certainly already usable.
* Fix paths to [pci|usb].ids files.
* Bump PKGREVISION.
2008-11-24 21:13:19 +00:00

16 lines
389 B
Text

$NetBSD: patch-ao,v 1.1 2008/11/24 21:13:19 hasso Exp $
--- hald/freebsd/hf-usb.c.orig 2008-11-24 14:15:42 +0200
+++ hald/freebsd/hf-usb.c 2008-11-24 07:18:17 +0200
@@ -31,7 +31,11 @@
#include <fcntl.h>
#include <sys/ioctl.h>
#include <unistd.h>
+#ifdef __DragonFly__
+#include <bus/usb/usb.h>
+#else
#include <dev/usb/usb.h>
+#endif
#include "../logger.h"
#include "../osspec.h"