summaryrefslogtreecommitdiff
path: root/audio/opus-tools/patches
diff options
context:
space:
mode:
authorryoon <ryoon>2012-09-16 14:17:54 +0000
committerryoon <ryoon>2012-09-16 14:17:54 +0000
commitca08a370fa038facec6e5a01f0c409dc50f99741 (patch)
treeeb3046aae4c827cda416648dd334d43b4f3364c9 /audio/opus-tools/patches
parent8e488a9f631bfec1f7e45e1d60e971de1e29f65c (diff)
downloadpkgsrc-ca08a370fa038facec6e5a01f0c409dc50f99741.tar.gz
Import opus-tools-0.1.5 as audio/opus-tools.
Opus-tools provides command-line utilities to encode, inspect, and decode .opus files.
Diffstat (limited to 'audio/opus-tools/patches')
-rw-r--r--audio/opus-tools/patches/patch-configure.ac35
1 files changed, 35 insertions, 0 deletions
diff --git a/audio/opus-tools/patches/patch-configure.ac b/audio/opus-tools/patches/patch-configure.ac
new file mode 100644
index 00000000000..9dc8d7892f7
--- /dev/null
+++ b/audio/opus-tools/patches/patch-configure.ac
@@ -0,0 +1,35 @@
+$NetBSD: patch-configure.ac,v 1.1 2012/09/16 14:17:54 ryoon Exp $
+
+* Disable opusdec's direct audio output
+
+--- configure.ac.orig 2012-09-04 17:33:39.000000000 +0000
++++ configure.ac
+@@ -165,18 +165,18 @@ then
+ fi
+
+ dnl check for OSS
+-HAVE_OSS=no
+-AC_CHECK_HEADERS([sys/soundcard.h soundcard.h machine/soundcard.h],[
+- HAVE_OSS=yes
+- break
+-])
++dnl HAVE_OSS=no
++dnl AC_CHECK_HEADERS([sys/soundcard.h soundcard.h machine/soundcard.h],[
++dnl HAVE_OSS=yes
++dnl break
++dnl ])
+
+ dnl check for sndio
+-HAVE_SNDIO=no
+-AC_CHECK_LIB([sndio], [sio_open])
+-if test "x$ac_cv_lib_sndio_sio_open" = "xyes"; then
+- HAVE_SNDIO=yes
+-fi
++dnl HAVE_SNDIO=no
++dnl AC_CHECK_LIB([sndio], [sio_open])
++dnl if test "x$ac_cv_lib_sndio_sio_open" = "xyes"; then
++dnl HAVE_SNDIO=yes
++dnl fi
+
+ if test "x$HAVE_OSS" != "xyes" && test "x$HAVE_SNDIO" != "xyes"; then
+ AC_MSG_WARN([Audio support not found -- no direct audio output in opusdec])