summaryrefslogtreecommitdiff
path: root/graphics/povray/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/povray/patches/patch-ah')
-rw-r--r--graphics/povray/patches/patch-ah61
1 files changed, 61 insertions, 0 deletions
diff --git a/graphics/povray/patches/patch-ah b/graphics/povray/patches/patch-ah
new file mode 100644
index 00000000000..8eacdb10150
--- /dev/null
+++ b/graphics/povray/patches/patch-ah
@@ -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
+