[MPlayer-dev-eng] [PATCH] more patches from NetBSD pkgsrc

Sergey Svishchev svs+mplayer at grep.ru
Sat Oct 14 17:13:05 CEST 2006


Good day,

More patches from NetBSD pkgsrc for review.

-- 
Sergey Svishchev
-------------- next part --------------
$NetBSD: patch-ta,v 1.1 2006/10/11 18:32:40 rillig Exp $

--- TOOLS/checktree.sh.orig	2006-06-11 20:35:46.000000000 +0200
+++ TOOLS/checktree.sh	2006-10-11 20:28:37.000000000 +0200
@@ -71,7 +71,7 @@ printhead() {
 all_filenames() {
     test "$_files" != "" && echo "$_files" && return
 
-    if [ "$_cvs" == "no" ]; then
+    if [ "$_cvs" = "no" ]; then
         find . -type f \
         | grep -v "\.\#\|\~$\|\.depend\|\/CVS\/\|config.mak\|^\./config\.h" \
         | grep -v "^\./version\.h\|\.o$\|\.a$"
@@ -208,7 +208,7 @@ done
 
 # Set heading color
 
-if [ "$_color" == "yes" ]; then
+if [ "$_color" = "yes" ]; then
     COLB="\e[36m"
     COLE="\e[m"
 else
@@ -220,7 +220,7 @@ fi
 
 filelist=`all_filenames`
 
-if [ "$_showcont" == "yes" ]; then
+if [ "$_showcont" = "yes" ]; then
   _diffopts="-u"
   _grepopts="-n -I"
 else
@@ -234,21 +234,21 @@ fi
 
 # -----------------------------------------------------------------------------
 
-if [ "$_spaces" == "yes" ]; then
+if [ "$_spaces" = "yes" ]; then
     printhead "checking for spaces in filenames ..."
     find . | grep " "
 fi
 
 # -----------------------------------------------------------------------------
 
-if [ "$_extensions" == "yes" ]; then
+if [ "$_extensions" = "yes" ]; then
     printhead "checking for uppercase extensions ..."
     echo $filelist | grep "\.[[:upper:]]\+$" | grep -v "\.S$"
 fi
 
 # -----------------------------------------------------------------------------
 
-if [ "$_crlf" == "yes" ]; then
+if [ "$_crlf" = "yes" ]; then
     printhead "checking for MSDOS line endings ..."
     grep $_grepopts "
 " $filelist
@@ -256,28 +256,28 @@ fi
 
 # -----------------------------------------------------------------------------
 
-if [ "$_trailws" == "yes" ]; then
+if [ "$_trailws" = "yes" ]; then
     printhead "checking for trailing whitespace ..."
     grep $_grepopts "[[:space:]]\+$" $filelist
 fi
 
 # -----------------------------------------------------------------------------
 
-if [ "$_rcsid" == "yes" ]; then
+if [ "$_rcsid" = "yes" ]; then
     printhead "checking for missing RCS \$Id\$ or \$Revision\$ tags ..."
     grep -L -I "\$\(Id\|Revision\)[[:print:]]\+\$" $filelist
 fi
 
 # -----------------------------------------------------------------------------
 
-if [ "$_oll" == "yes" ]; then
+if [ "$_oll" = "yes" ]; then
     printhead "checking for overly long lines (over 79 characters) ..."
     grep $_grepopts "^[[:print:]]\{80,\}$" $filelist
 fi
 
 # -----------------------------------------------------------------------------
 
-if [ "$_charset" == "yes" ]; then
+if [ "$_charset" = "yes" ]; then
     printhead "checking bad charsets ..."
     for I in $filelist ; do
       case "$I" in
-------------- next part --------------
$NetBSD: patch-tb,v 1.1 2006/10/11 18:32:40 rillig Exp $

--- TOOLS/mencvcd.orig	2006-06-11 20:35:46.000000000 +0200
+++ TOOLS/mencvcd	2006-10-11 20:29:01.000000000 +0200
@@ -330,7 +330,7 @@ done
 
 # some configs
 mpegnorm="-f $VCDMODE -b $vbr -B 260 -V 46"
-if [ "$vnorm" == "SVCD" ]; then
+if [ "$vnorm" = "SVCD" ]; then
    [ $vbrset -eq 0 ] && vbr=2500
    mplexnorm="-f $SVCDMODE -m 2 -V -b 230"
    mpegnorm="-f $SVCDMODE -b $vbr -B 260 -V 230"


More information about the MPlayer-dev-eng mailing list