summaryrefslogtreecommitdiff
path: root/emulators/fuse-utils/patches/patch-configure
blob: 46929f2d7c68b0851836774fb2a852df560e370d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$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