diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-11 18:32:40 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-11 18:32:40 +0000 |
commit | 183a50eb64ed28c928d2379eb88282ec8276cdff (patch) | |
tree | 6e30d805169d7e8274e83d8355527e5dd6d09d40 /multimedia/mplayer-share/patches | |
parent | 4bb42fd9c0a838cae782a7f0dd673d29bff93af1 (diff) | |
download | pkgsrc-183a50eb64ed28c928d2379eb88282ec8276cdff.tar.gz |
Fixed "test ==" and $RANDOM.
Diffstat (limited to 'multimedia/mplayer-share/patches')
-rw-r--r-- | multimedia/mplayer-share/patches/patch-ta | 89 | ||||
-rw-r--r-- | multimedia/mplayer-share/patches/patch-tb | 13 | ||||
-rw-r--r-- | multimedia/mplayer-share/patches/patch-tc | 13 |
3 files changed, 115 insertions, 0 deletions
diff --git a/multimedia/mplayer-share/patches/patch-ta b/multimedia/mplayer-share/patches/patch-ta new file mode 100644 index 00000000000..48b259d598d --- /dev/null +++ b/multimedia/mplayer-share/patches/patch-ta @@ -0,0 +1,89 @@ +$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 diff --git a/multimedia/mplayer-share/patches/patch-tb b/multimedia/mplayer-share/patches/patch-tb new file mode 100644 index 00000000000..5ffe05413ef --- /dev/null +++ b/multimedia/mplayer-share/patches/patch-tb @@ -0,0 +1,13 @@ +$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" diff --git a/multimedia/mplayer-share/patches/patch-tc b/multimedia/mplayer-share/patches/patch-tc new file mode 100644 index 00000000000..950ea4f00d8 --- /dev/null +++ b/multimedia/mplayer-share/patches/patch-tc @@ -0,0 +1,13 @@ +$NetBSD: patch-tc,v 1.1 2006/10/11 18:32:40 rillig Exp $ + +--- TOOLS/x2mpsub.sh.orig 2006-10-11 20:29:22.000000000 +0200 ++++ TOOLS/x2mpsub.sh 2006-06-11 20:35:46.000000000 +0200 +@@ -6,7 +6,7 @@ + # Gabucino. No warranty. :) + # + +-TMP="x2mpsub-$RANDOM" ++TMP="x2mpsub-$$-$RANDOM" + mkdir "$TMP" + touch "$TMP/$TMP" + |