OSDN Git Service

fix another MTR feature title extraction issue
[handbrake-jp/handbrake-jp-git.git] / contrib / ffmpeg / P01-solaris.patch
1 Index: configure
2 ===================================================================
3 --- ffmpeg.orig/configure       (revision 20594)
4 +++ ffmpeg/configure    (working copy)
5 @@ -54,6 +54,9 @@
6      exit 1
7  fi
8  
9 +# Solaris must use the xpg4 version of grep
10 +PATH=/usr/xpg4/bin:$PATH
11 +
12  show_help(){
13  cat <<EOF
14  Usage: configure [options]
15 @@ -2171,7 +2174,7 @@
16  check_cc <<EOF || die "endian test failed"
17  unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
18  EOF
19 -od -A n -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
20 +/usr/bin/tr -cd "BIGE" < $TMPO | grep -q 'B *I *G *E' && enable bigendian
21  
22  if enabled arm; then
23