pkgsrc/sysutils/hal/patches/patch-an
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
360 B
Text

$NetBSD: patch-an,v 1.1 2008/11/24 21:13:19 hasso Exp $
--- hald/freebsd/hf-ata.c.orig 2008-11-24 21:32:34 +0200
+++ hald/freebsd/hf-ata.c 2008-11-24 21:33:08 +0200
@@ -30,7 +30,11 @@
#include <unistd.h>
#include <errno.h>
#include <sys/ioctl.h>
+#ifdef __DragonFly__
+#include <sys/nata.h>
+#else
#include <sys/ata.h>
+#endif
#include "../logger.h"