pkgsrc/emulators/fuse-emulator-utils/patches/patch-configure

22 lines
1,023 B
Text
Raw Normal View History

$NetBSD: patch-configure,v 1.1 2016/01/17 20:46:54 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