pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/povray Fixed "test ==".



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e57a5d3ddcb0
branches:  trunk
changeset: 520358:e57a5d3ddcb0
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Oct 19 23:46:01 2006 +0000

description:
Fixed "test ==".

diffstat:

 graphics/povray/distinfo         |   5 ++-
 graphics/povray/patches/patch-ah |  61 ++++++++++++++++++++++++++++++++++++++++
 graphics/povray/patches/patch-ai |  57 +++++++++++++++++++++++++++++++++++++
 graphics/povray/patches/patch-aj |  34 ++++++++++++++++++++++
 4 files changed, 156 insertions(+), 1 deletions(-)

diffs (180 lines):

diff -r 282ea4457d26 -r e57a5d3ddcb0 graphics/povray/distinfo
--- a/graphics/povray/distinfo  Thu Oct 19 23:45:55 2006 +0000
+++ b/graphics/povray/distinfo  Thu Oct 19 23:46:01 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2006/09/17 22:33:36 rillig Exp $
+$NetBSD: distinfo,v 1.14 2006/10/19 23:46:01 rillig Exp $
 
 SHA1 (povray-3.6.1.tar.bz2) = 1fab3ccbdedafbf77e3a66087709bbdf60bc643d
 RMD160 (povray-3.6.1.tar.bz2) = 84ba679da66089f192cc1bfcf8bdd498e736a9a3
@@ -7,3 +7,6 @@
 SHA1 (patch-ad) = fa4056ca956cb2872960fcb649e259aad1f065e4
 SHA1 (patch-af) = b941ffe6f1f54b5bc6139ec2b7fba480f6393bf1
 SHA1 (patch-ag) = 67ad332366614e60b0842572d7d07debe8b6e8f2
+SHA1 (patch-ah) = b8184166d1641d5147f2d532a3e5433f2a686ede
+SHA1 (patch-ai) = 4d6d1f7fa38f5d2bf5511f54b1743f734753672d
+SHA1 (patch-aj) = d826197d0d0deb6bf83c784820ada951418b46ab
diff -r 282ea4457d26 -r e57a5d3ddcb0 graphics/povray/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/povray/patches/patch-ah  Thu Oct 19 23:46:01 2006 +0000
@@ -0,0 +1,61 @@
+$NetBSD: patch-ah,v 1.1 2006/10/19 23:46:01 rillig Exp $
+
+--- scripts/allanim.sh.orig    2004-08-03 01:16:20.000000000 +0200
++++ scripts/allanim.sh 2006-10-20 01:22:43.000000000 +0200
+@@ -57,12 +57,12 @@ case "$OPTIONS" in
+     ;;
+ esac
+ 
+-test "$1" == "-d" && SCENE_DIR="$2"
+-test "$2" == "-d" && SCENE_DIR="$3"
+-test "$3" == "-d" && SCENE_DIR="$4"
+-test "$4" == "-d" && SCENE_DIR="$5"
+-test "$5" == "-d" && SCENE_DIR="$6"
+-test "$6" == "-d" && SCENE_DIR="$7"
++test "$1" = "-d" && SCENE_DIR="$2"
++test "$2" = "-d" && SCENE_DIR="$3"
++test "$3" = "-d" && SCENE_DIR="$4"
++test "$4" = "-d" && SCENE_DIR="$5"
++test "$5" = "-d" && SCENE_DIR="$6"
++test "$6" = "-d" && SCENE_DIR="$7"
+ 
+ if [ -z "$SCENE_DIR" ] ; then
+   INSTALL_DIR="`install_dir`"
+@@ -93,12 +93,12 @@ if [ ! -d "$SCENE_DIR" ] ; then
+   exit
+ fi
+ 
+-test "$1" == "-o" && OUTPUT_DIR="$2"
+-test "$2" == "-o" && OUTPUT_DIR="$3"
+-test "$3" == "-o" && OUTPUT_DIR="$4"
+-test "$4" == "-o" && OUTPUT_DIR="$5"
+-test "$5" == "-o" && OUTPUT_DIR="$6"
+-test "$6" == "-o" && OUTPUT_DIR="$7"
++test "$1" = "-o" && OUTPUT_DIR="$2"
++test "$2" = "-o" && OUTPUT_DIR="$3"
++test "$3" = "-o" && OUTPUT_DIR="$4"
++test "$4" = "-o" && OUTPUT_DIR="$5"
++test "$5" = "-o" && OUTPUT_DIR="$6"
++test "$6" = "-o" && OUTPUT_DIR="$7"
+ 
+ if [ -z "$OUTPUT_DIR" ] ; then
+   if [ ! -w "$SCENE_DIR" ] ; then
+@@ -124,12 +124,12 @@ fi
+ 
+ HTML_FILE=
+ 
+-test "$1" == "-h" && HTML_FILE="$2"
+-test "$2" == "-h" && HTML_FILE="$3"
+-test "$3" == "-h" && HTML_FILE="$4"
+-test "$4" == "-h" && HTML_FILE="$5"
+-test "$5" == "-h" && HTML_FILE="$6"
+-test "$6" == "-h" && HTML_FILE="$7"
++test "$1" = "-h" && HTML_FILE="$2"
++test "$2" = "-h" && HTML_FILE="$3"
++test "$3" = "-h" && HTML_FILE="$4"
++test "$4" = "-h" && HTML_FILE="$5"
++test "$5" = "-h" && HTML_FILE="$6"
++test "$6" = "-h" && HTML_FILE="$7"
+ 
+ if [ ! -z "$HTML_FILE" ] ; then
+ 
diff -r 282ea4457d26 -r e57a5d3ddcb0 graphics/povray/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/povray/patches/patch-ai  Thu Oct 19 23:46:01 2006 +0000
@@ -0,0 +1,57 @@
+$NetBSD: patch-ai,v 1.1 2006/10/19 23:46:01 rillig Exp $
+
+--- scripts/allscene.sh.orig   2004-08-03 01:16:20.000000000 +0200
++++ scripts/allscene.sh        2006-10-20 01:23:23.000000000 +0200
+@@ -64,11 +64,11 @@ case "$OPTIONS" in
+     ;;
+ esac
+ 
+-test "$1" == "-d" && SCENE_DIR="$2"
+-test "$2" == "-d" && SCENE_DIR="$3"
+-test "$3" == "-d" && SCENE_DIR="$4"
+-test "$4" == "-d" && SCENE_DIR="$5" 
+-test "$5" == "-d" && SCENE_DIR="$6"
++test "$1" = "-d" && SCENE_DIR="$2"
++test "$2" = "-d" && SCENE_DIR="$3"
++test "$3" = "-d" && SCENE_DIR="$4"
++test "$4" = "-d" && SCENE_DIR="$5" 
++test "$5" = "-d" && SCENE_DIR="$6"
+ 
+ if [ -z "$SCENE_DIR" ] ; then
+   INSTALL_DIR="`install_dir`"
+@@ -99,11 +99,11 @@ if [ ! -d "$SCENE_DIR" ] ; then
+   exit
+ fi
+ 
+-test "$1" == "-o" && OUTPUT_DIR="$2"
+-test "$2" == "-o" && OUTPUT_DIR="$3"
+-test "$3" == "-o" && OUTPUT_DIR="$4"
+-test "$4" == "-o" && OUTPUT_DIR="$5" 
+-test "$5" == "-o" && OUTPUT_DIR="$6"
++test "$1" = "-o" && OUTPUT_DIR="$2"
++test "$2" = "-o" && OUTPUT_DIR="$3"
++test "$3" = "-o" && OUTPUT_DIR="$4"
++test "$4" = "-o" && OUTPUT_DIR="$5" 
++test "$5" = "-o" && OUTPUT_DIR="$6"
+ 
+ if [ -z "$OUTPUT_DIR" ] ; then
+   if [ ! -w "$SCENE_DIR" ] ; then
+@@ -133,12 +133,12 @@ fi
+ 
+ HTML_FILE=
+ 
+-test "$1" == "-h" && HTML_FILE="$2"
+-test "$2" == "-h" && HTML_FILE="$3"
+-test "$3" == "-h" && HTML_FILE="$4"
+-test "$4" == "-h" && HTML_FILE="$5"
+-test "$5" == "-h" && HTML_FILE="$6"
+-test "$6" == "-h" && HTML_FILE="$7"
++test "$1" = "-h" && HTML_FILE="$2"
++test "$2" = "-h" && HTML_FILE="$3"
++test "$3" = "-h" && HTML_FILE="$4"
++test "$4" = "-h" && HTML_FILE="$5"
++test "$5" = "-h" && HTML_FILE="$6"
++test "$6" = "-h" && HTML_FILE="$7"
+ 
+ if [ ! -z "$HTML_FILE" ] ; then
+ 
diff -r 282ea4457d26 -r e57a5d3ddcb0 graphics/povray/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/povray/patches/patch-aj  Thu Oct 19 23:46:01 2006 +0000
@@ -0,0 +1,34 @@
+$NetBSD: patch-aj,v 1.1 2006/10/19 23:46:01 rillig Exp $
+
+--- scripts/portfolio.sh.orig  2004-08-03 01:16:20.000000000 +0200
++++ scripts/portfolio.sh       2006-10-20 01:23:33.000000000 +0200
+@@ -56,10 +56,10 @@ case "$OPTIONS" in
+     ;;
+ esac
+ 
+-test "$1" == "-d" && SCENE_DIR="$2"
+-test "$2" == "-d" && SCENE_DIR="$3"
+-test "$3" == "-d" && SCENE_DIR="$4"
+-test "$4" == "-d" && SCENE_DIR="$5"
++test "$1" = "-d" && SCENE_DIR="$2"
++test "$2" = "-d" && SCENE_DIR="$3"
++test "$3" = "-d" && SCENE_DIR="$4"
++test "$4" = "-d" && SCENE_DIR="$5"
+ 
+ if [ -z "$SCENE_DIR" ] ; then
+   INSTALL_DIR="`install_dir`"
+@@ -94,10 +94,10 @@ if [ -d "$SCENE_DIR/portfolio" ] ; then
+   SCENE_DIR="$SCENE_DIR/portfolio"
+ fi
+ 
+-test "$1" == "-o" && OUTPUT_DIR="$2"
+-test "$2" == "-o" && OUTPUT_DIR="$3"
+-test "$3" == "-o" && OUTPUT_DIR="$4"
+-test "$4" == "-o" && OUTPUT_DIR="$5"
++test "$1" = "-o" && OUTPUT_DIR="$2"
++test "$2" = "-o" && OUTPUT_DIR="$3"
++test "$3" = "-o" && OUTPUT_DIR="$4"
++test "$4" = "-o" && OUTPUT_DIR="$5"
+ 
+ if [ -z "$OUTPUT_DIR" ] ; then
+   if [ -w "$SCENE_DIR" ] ; then



Home | Main Index | Thread Index | Old Index