aboutsummaryrefslogtreecommitdiff
path: root/audio/terminatorx/files/patch-src_tX__dialog.cc
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
commit9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /audio/terminatorx/files/patch-src_tX__dialog.cc
parent5a20e7990eb544509174d617d359bf0d4ac64737 (diff)
downloadports-9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896.tar.gz
ports-9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896.zip
Notes
Diffstat (limited to 'audio/terminatorx/files/patch-src_tX__dialog.cc')
-rw-r--r--audio/terminatorx/files/patch-src_tX__dialog.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/terminatorx/files/patch-src_tX__dialog.cc b/audio/terminatorx/files/patch-src_tX__dialog.cc
new file mode 100644
index 000000000000..321cb9716c76
--- /dev/null
+++ b/audio/terminatorx/files/patch-src_tX__dialog.cc
@@ -0,0 +1,14 @@
+--- src/tX_dialog.cc.orig 2011-01-30 21:01:30 UTC
++++ src/tX_dialog.cc
+@@ -252,7 +252,11 @@ GList *get_alsa_device_list() {
+ #ifdef USE_OSS
+ static GList *oss_devices=NULL;
+
++#ifdef HAVE_SCANDIR_POSIX
+ int oss_select_dsp_only(const struct dirent *entry){
++#else
++int oss_select_dsp_only(struct dirent *entry){
++#endif
+ return (strstr(entry->d_name, "dsp")!=0);
+ }
+