summaryrefslogtreecommitdiff
path: root/xalan-c-getopt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'xalan-c-getopt.patch')
-rw-r--r--xalan-c-getopt.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/xalan-c-getopt.patch b/xalan-c-getopt.patch
new file mode 100644
index 0000000..0cc063a
--- /dev/null
+++ b/xalan-c-getopt.patch
@@ -0,0 +1,29 @@
+--- xml-xalan/c/runConfigure~ 2007-01-16 02:51:41.542772924 +0200
++++ xml-xalan/c/runConfigure 2007-01-16 02:51:52.393015979 +0200
+@@ -198,14 +198,15 @@
+
+ # Get the command line parameters
+ if test -x /bin/getopt -o -x /usr/bin/getopt; then
+- set -- `getopt C:p:P:c:x:dm:n:t:m:M:r:b:l:z:h $*`
+-
++ t=`getopt -o C:p:P:c:x:dm:n:t:m:M:r:b:l:z:h -- "$@"`
+ if [ $? != 0 ]
+ then
+ usage
+ exit ${ERROR_EXIT_CODE}
+ fi
+
++ eval set -- "$t"
++
+ while [ $# -gt 0 ]
+ do
+ case $1 in
+@@ -358,7 +359,7 @@
+ elif test $platform = "os390"; then
+ debugflag="-DNDEBUG";
+ elif test $platform = "linux"; then
+- if test $cppcompiler = "icpc"; then
++ if test "$cppcompiler" = "icpc"; then
+ debugflag="-O3 -DNDEBUG";
+ else
+ debugflag="-O2 -DNDEBUG";