From 268823683321a1c54835add7bf8d0247dd0ccfe0 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 12 Dec 2005 00:26:36 +0000 Subject: Fix scandir parameter for DragonFly and FreeBSD. --- audio/terminatorx/patches/patch-aa | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 audio/terminatorx/patches/patch-aa (limited to 'audio/terminatorx/patches') 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); + } + -- cgit v1.2.3