summaryrefslogtreecommitdiff
path: root/sysutils/hal/patches/patch-am
diff options
context:
space:
mode:
authorhasso <hasso>2008-11-24 21:13:19 +0000
committerhasso <hasso>2008-11-24 21:13:19 +0000
commit103c48d29558af5b852c618b85cc32800aab5bec (patch)
treede47dd836a2bf687eb63fd3de16de543d21ee831 /sysutils/hal/patches/patch-am
parentbfe2aabf5d72f34af2df9bec6235035304d2e662 (diff)
downloadpkgsrc-103c48d29558af5b852c618b85cc32800aab5bec.tar.gz
* 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.
Diffstat (limited to 'sysutils/hal/patches/patch-am')
-rw-r--r--sysutils/hal/patches/patch-am16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/hal/patches/patch-am b/sysutils/hal/patches/patch-am
new file mode 100644
index 00000000000..1b76c601f74
--- /dev/null
+++ b/sysutils/hal/patches/patch-am
@@ -0,0 +1,16 @@
+$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>