summaryrefslogtreecommitdiff
path: root/audio/terminatorx
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
parentc1c23b170d5d80af9328b7a37b8d32a2fd6c4e5c (diff)
downloadpkgsrc-268823683321a1c54835add7bf8d0247dd0ccfe0.tar.gz
Fix scandir parameter for DragonFly and FreeBSD.
Diffstat (limited to 'audio/terminatorx')
-rw-r--r--audio/terminatorx/distinfo3
-rw-r--r--audio/terminatorx/patches/patch-aa16
2 files changed, 18 insertions, 1 deletions
diff --git a/audio/terminatorx/distinfo b/audio/terminatorx/distinfo
index 27e76549d88..12e103de7b8 100644
--- a/audio/terminatorx/distinfo
+++ b/audio/terminatorx/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 20:39:52 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/12/12 00:26:36 joerg Exp $
SHA1 (terminatorX-3.82.tar.bz2) = 8d492fc759ffb77c2549190081077e12f765233f
RMD160 (terminatorX-3.82.tar.bz2) = b70c688101844a07eddcd3e090cd6e805e93f066
Size (terminatorX-3.82.tar.bz2) = 395755 bytes
+SHA1 (patch-aa) = c313aed6ec7bba657a3941ddc5586ad7b7c734eb
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);
+ }
+