summaryrefslogtreecommitdiff
path: root/audio/terminatorx/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-12 00:26:36 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-12 00:26:36 +0000
commit268823683321a1c54835add7bf8d0247dd0ccfe0 (patch)
treeee80e63581587fe9589ca02d2d573fcf36dbc62d /audio/terminatorx/patches
parentc1c23b170d5d80af9328b7a37b8d32a2fd6c4e5c (diff)
downloadpkgsrc-268823683321a1c54835add7bf8d0247dd0ccfe0.tar.gz
Fix scandir parameter for DragonFly and FreeBSD.
Diffstat (limited to 'audio/terminatorx/patches')
-rw-r--r--audio/terminatorx/patches/patch-aa16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/terminatorx/patches/patch-aa b/audio/terminatorx/patches/patch-aa
new file mode 100644
index 00000000000..ad7efdf0501
--- /dev/null
+++ b/audio/terminatorx/patches/patch-aa
@@ -0,0 +1,16 @@
+$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);
+ }
+