OSDN Git Service

Updates manicure for the new default CRF setting in the CLI, so it doesn't add a -Q.
[handbrake-jp/handbrake-jp-git.git] / contrib / patch-ffmpeg-solaris.patch
1 --- ffmpeg.base/configure       Wed Oct 10 15:39:57 2007
2 +++ ffmpeg/configure    Wed Oct 10 15:51:44 2007
3 @@ -889,7 +889,7 @@
4      source_path_used="no"
5  else
6      source_path="`cd \"$source_path\"; pwd`"
7 -    echo "$source_path" | grep -q '[[:blank:]]' &&
8 +    echo "$source_path" | /usr/xpg4/bin/grep -q '[[:blank:]]' &&
9        die "Out of tree builds are impossible with whitespace in source path."
10  fi
11  
12 @@ -993,7 +993,7 @@
13    ;;
14    --enable-?*|--disable-?*)
15    eval `echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g'`
16 -  echo "$CMDLINE_SELECT" | grep -q "^ *$option\$" || die_unknown $opt
17 +  echo "$CMDLINE_SELECT" | /usr/xpg4/bin/grep -q "^ *$option\$" || die_unknown $opt
18    $action $option
19    ;;
20    --list-*)
21 @@ -1368,7 +1368,7 @@
22  fi
23  
24  gnu_make(){
25 -    $1 --version 2>&1 | grep -q GNU
26 +    $1 --version 2>&1 | /usr/xpg4/bin/grep -q GNU
27  }
28  
29  if ! gnu_make $make; then