pkgsrc/multimedia/xawtv/patches/patch-af

23 lines
691 B
Text

$NetBSD: patch-af,v 1.2 2011/08/13 04:43:51 cheusov Exp $
--- libng/devices.c.orig 2006-01-17 22:21:30.000000000 +0100
+++ libng/devices.c
@@ -9,7 +9,8 @@
/*
* default devices names
*/
-#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || \
+ defined(__DragonFly__)
struct ng_device_config ng_dev = {
video: "/dev/bktr0",
radio: NULL,
@@ -15,7 +15,7 @@ struct ng_device_config ng_dev = {
video: "/dev/bktr0",
radio: NULL,
vbi: "/dev/vbi0",
- dsp: "/dev/dsp",
+ dsp: "/dev/audio",
mixer: "/dev/mixer",
video_scan: {
"/dev/bktr0",