summaryrefslogtreecommitdiff
path: root/audio/sphinxbase/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sphinxbase/files/patch-configure')
-rw-r--r--audio/sphinxbase/files/patch-configure30
1 files changed, 30 insertions, 0 deletions
diff --git a/audio/sphinxbase/files/patch-configure b/audio/sphinxbase/files/patch-configure
new file mode 100644
index 000000000000..f536d39e1773
--- /dev/null
+++ b/audio/sphinxbase/files/patch-configure
@@ -0,0 +1,30 @@
+--- configure.orig 2009-07-13 10:53:01.000000000 -0500
++++ configure 2009-07-13 10:54:06.000000000 -0500
+@@ -7166,7 +7166,8 @@
+
+ if test "x$ad_files" = "x"; then
+ case $host in
+- *-*-linux*|*-*-uclinux*)
++ *-*-linux*|*-*-uclinux*| \
++ *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
+ ad_files="ad_oss.lo"
+ ad_backend="AD_BACKEND_OSS"
+
+@@ -7175,17 +7176,6 @@
+ _ACEOF
+
+ ;;
+- # FIXME: isn't this the same OSS as on Linux?
+- *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
+- ad_files="ad_oss_bsd.lo mulaw_base.lo"
+- ad_libs="-lossaudio"
+- ad_backend="AD_BACKEND_OSS_BSD"
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define AD_BACKEND_OSS_BSD
+-_ACEOF
+-
+- ;;
+ *-*-osf*)
+ ad_files="ad_osf.lo mulaw_base.lo"
+ ad_backend="AD_BACKEND_OSF"