Files
pkgsrc-ng/audio/terminatorx/patches/patch-aa
2013-09-26 17:14:40 +02:00

17 lines
437 B
Plaintext

$NetBSD: patch-aa,v 1.2 2011/11/24 20:34:34 marino 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(__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);
}