2013-09-26 17:14:40 +02:00

22 lines
1023 B
Plaintext

$NetBSD: patch-configure,v 1.1 2011/12/19 15:03:18 wiz Exp $
Fix build with audiofile-0.3+.
--- configure.orig 2011-12-19 14:59:05.000000000 +0000
+++ configure
@@ -15386,11 +15386,11 @@ $as_echo_n "checking for Audio File Libr
AUDIOFILE_LIBS=`$AUDIOFILE_CONFIG $audiofileconf_args --libs`
AUDIOFILE_CFLAGS=`$AUDIOFILE_CONFIG $audiofileconf_args --cflags`
audiofile_major_version=`$AUDIOFILE_CONFIG $audiofile_args --version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
+ sed 's/\([0-9]*\).\([0-9]\)\([0-9]*\)/\1/'`
audiofile_minor_version=`$AUDIOFILE_CONFIG $audiofile_args --version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
+ sed 's/\([0-9]*\).\([0-9]\)\([0-9]*\)/\2/'`
audiofile_micro_version=`$AUDIOFILE_CONFIG $audiofile_config_args --version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
+ sed 's/\([0-9]*\).\([0-9]\)\([0-9]*\)/\3/'`
if test "x$enable_audiofiletest" = "xyes" ; then
ac_ext=c