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

$NetBSD: patch-am,v 1.1 2008/11/24 21:13:19 hasso Exp $
--- hald/freebsd/libprobe/hfp-cdrom.c.orig 2008-11-24 14:23:52 +0200
+++ hald/freebsd/libprobe/hfp-cdrom.c 2008-11-23 19:36:53 +0200
@@ -32,7 +32,11 @@
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/types.h>
+#ifdef __DragonFly__
+#include <sys/nata.h>
+#else
#include <sys/ata.h>
+#endif
#include <stdio.h>
#include <camlib.h>
#include <cam/scsi/scsi_message.h>