pkgsrc/audio/terminatorx/patches/patch-aa

16 lines
462 B
Text

$NetBSD: patch-aa,v 1.1 2005/12/12 00:26:36 joerg Exp $
--- src/tX_dialog.cc.orig 2005-12-12 00:13:12.000000000 +0000
+++ src/tX_dialog.cc
@@ -252,7 +252,11 @@ GList *get_alsa_device_list() {
#ifdef USE_OSS
static GList *oss_devices=NULL;
+#if defined(__DragonFly__) || defined(__FreeBSD__)
+int oss_select_dsp_only(struct dirent *entry){
+#else
int oss_select_dsp_only(const struct dirent *entry){
+#endif
return (strstr(entry->d_name, "dsp")!=0);
}