1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/audio/terminatorx/files/patch-src::tX_dialog.cc
Tilman Keskinoz 60d77f3c22 Second attempt to unbreak this port,
instead of guessing the correct FreeBSD version values write a configure macro
to detect it.
2010-08-14 22:37:29 +00:00

15 lines
384 B
C++

--- src/tX_dialog.cc.orig 2004-02-06 19:28:21.000000000 +0100
+++ src/tX_dialog.cc 2010-08-14 22:00:50.000000000 +0200
@@ -252,7 +252,11 @@
#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);
}