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

pkg-kde: commit - rev 63 - in trunk/packages/arts/debian: . patches



Author: ccheney
Date: 2004-03-21 15:43:10 -0700 (Sun, 21 Mar 2004)
New Revision: 63

Modified:
   trunk/packages/arts/debian/changelog
   trunk/packages/arts/debian/control
   trunk/packages/arts/debian/patches/02_autotools_update.diff
   trunk/packages/arts/debian/patches/05_pedantic-errors.diff
Log:
arts 1.2.1-1 update


Modified: trunk/packages/arts/debian/changelog
===================================================================
--- trunk/packages/arts/debian/changelog	2004-03-06 16:51:30 UTC (rev 62)
+++ trunk/packages/arts/debian/changelog	2004-03-21 22:43:10 UTC (rev 63)
@@ -1,3 +1,9 @@
+arts (1.2.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Christopher L Cheney <ccheney@debian.org>  Tue,  2 Mar 2004 01:00:00 -0600
+
 arts (1.2.0-0pre1v1) experimental; urgency=low
 
   * New upstream release.

Modified: trunk/packages/arts/debian/control
===================================================================
--- trunk/packages/arts/debian/control	2004-03-06 16:51:30 UTC (rev 62)
+++ trunk/packages/arts/debian/control	2004-03-21 22:43:10 UTC (rev 63)
@@ -1,5 +1,5 @@
 Source: arts
-Build-Depends: automake1.7, debhelper (>> 4.0.18), docbook-to-man, gawk, gettext, libasound2-dev, libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libmad0-dev, libqt3-mt-dev, libvorbis-dev, sharutils, texinfo, xlibs-pic
+Build-Depends: automake1.8, debhelper (>> 4.2.0), docbook-to-man, gawk, gettext, libasound2-dev, libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libmad0-dev, libqt3-mt-dev, libvorbis-dev, sharutils, texinfo, xlibs-static-pic (>= 4.3.0-3)
 Build-Conflicts: libmas-dev
 Section: libs
 Priority: optional
@@ -42,7 +42,7 @@
 Package: libarts1-dev
 Architecture: any
 Section: libdevel
-Depends: libarts1 (= ${Source-Version}), libartsc0-dev, libasound2-dev, libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libmad0-dev, libogg-dev, libqt3-mt-dev, libvorbis-dev, xlibs-pic
+Depends: libarts1 (= ${Source-Version}), libartsc0-dev, libasound2-dev, libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libmad0-dev, libogg-dev, libqt3-mt-dev, libvorbis-dev, xlibs-static-pic (>= 4.3.0-3)
 Conflicts: kdelibs3 (<< 4:3.0.0), libarts (<< 4:3.0.0), libarts-alsa (<< 4:3.0.0), libarts-dev (<< 4:3.0.0), libkmid (<< 4:3.0.0), libkmid-alsa (<< 4:3.0.0), libkmid-dev (<< 4:3.0.0)
 Replaces: kdelibs3 (<< 4:3.0.0), libarts (<< 4:3.0.0), libarts-alsa (<< 4:3.0.0), libarts-dev (<< 4:3.0.0), libkmid (<< 4:3.0.0), libkmid-alsa (<< 4:3.0.0), libkmid-dev (<< 4:3.0.0)
 Description: aRts Sound system (development files)

Modified: trunk/packages/arts/debian/patches/02_autotools_update.diff
===================================================================
--- trunk/packages/arts/debian/patches/02_autotools_update.diff	2004-03-06 16:51:30 UTC (rev 62)
+++ trunk/packages/arts/debian/patches/02_autotools_update.diff	2004-03-21 22:43:10 UTC (rev 63)
@@ -1,23 +1,158 @@
-diff -Nrua arts-1.1.94/admin/compile arts-patched/admin/compile
---- arts-1.1.94/admin/compile	2002-09-30 07:18:17.000000000 -0500
-+++ arts-patched/admin/compile	2003-12-15 22:48:04.000000000 -0600
-@@ -28,6 +28,14 @@
- # compile PROGRAM [ARGS]...
- # `-o FOO.o' is removed from the args passed to the actual compile.
+diff -Nrua arts-1.2.1/admin/compile arts-patched/admin/compile
+--- arts-1.2.1/admin/compile	2002-09-30 07:18:17.000000000 -0500
++++ arts-patched/admin/compile	2004-01-14 19:49:36.000000000 -0600
+@@ -1,8 +1,9 @@
+ #! /bin/sh
+-
+ # Wrapper for compilers which do not understand `-c -o'.
  
-+# Usage statement added by Billy Biggs <vektor@dumbterm.net>.
-+if [ -z $1 ]; then
-+    echo "Wrapper for compilers which do not understand '-c -o'."
-+    echo "usage: compile PROGRAM [ARGS]..."
-+    echo "'-o FOO.o' is removed from the args passed to the actual compile."
-+    exit 1
-+fi
+-# Copyright 1999, 2000 Free Software Foundation, Inc.
++scriptversion=2003-11-09.00
 +
++# Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
+ # Written by Tom Tromey <tromey@cygnus.com>.
+ #
+ # This program is free software; you can redistribute it and/or modify
+@@ -24,9 +25,36 @@
+ # configuration script generated by Autoconf, you may include it under
+ # the same distribution terms that you use for the rest of that program.
+ 
+-# Usage:
+-# compile PROGRAM [ARGS]...
+-# `-o FOO.o' is removed from the args passed to the actual compile.
++# This file is maintained in Automake, please report
++# bugs to <bug-automake@gnu.org> or send patches to
++# <automake-patches@gnu.org>.
++
++case $1 in
++  '')
++     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
++     exit 1;
++     ;;
++  -h | --h*)
++    cat <<\EOF
++Usage: compile [--help] [--version] PROGRAM [ARGS]
++
++Wrapper for compilers which do not understand `-c -o'.
++Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
++arguments, and rename the output as expected.
++
++If you are trying to build a whole package this is not the
++right script to run: please start by reading the file `INSTALL'.
++
++Report bugs to <bug-automake@gnu.org>.
++EOF
++    exit 0
++    ;;
++  -v | --v*)
++    echo "compile $scriptversion"
++    exit 0
++    ;;
++esac
++
+ 
  prog=$1
  shift
+@@ -35,39 +63,39 @@
+ cfile=
+ args=
+ while test $# -gt 0; do
+-   case "$1" in
++  case "$1" in
+     -o)
+-       # configure might choose to run compile as `compile cc -o foo foo.c'.
+-       # So we do something ugly here.
+-       ofile=$2
+-       shift
+-       case "$ofile" in
++      # configure might choose to run compile as `compile cc -o foo foo.c'.
++      # So we do something ugly here.
++      ofile=$2
++      shift
++      case "$ofile" in
+ 	*.o | *.obj)
+-	   ;;
++	  ;;
+ 	*)
+-	   args="$args -o $ofile"
+-	   ofile=
+-	   ;;
+-       esac
++	  args="$args -o $ofile"
++	  ofile=
++	  ;;
++      esac
+        ;;
+     *.c)
+-       cfile=$1
+-       args="$args $1"
+-       ;;
++      cfile=$1
++      args="$args $1"
++      ;;
+     *)
+-       args="$args $1"
+-       ;;
+-   esac
+-   shift
++      args="$args $1"
++      ;;
++  esac
++  shift
+ done
  
-diff -Nrua arts-1.1.94/admin/config.guess arts-patched/admin/config.guess
---- arts-1.1.94/admin/config.guess	2002-10-26 11:44:28.000000000 -0500
+ if test -z "$ofile" || test -z "$cfile"; then
+-   # If no `-o' option was seen then we might have been invoked from a
+-   # pattern rule where we don't need one.  That is ok -- this is a
+-   # normal compilation that the losing compiler can handle.  If no
+-   # `.c' file was seen then we are probably linking.  That is also
+-   # ok.
+-   exec "$prog" $args
++  # If no `-o' option was seen then we might have been invoked from a
++  # pattern rule where we don't need one.  That is ok -- this is a
++  # normal compilation that the losing compiler can handle.  If no
++  # `.c' file was seen then we are probably linking.  That is also
++  # ok.
++  exec "$prog" $args
+ fi
+ 
+ # Name of file we expect compiler to create.
+@@ -79,10 +107,10 @@
+ # object file name, since that is what matters with a parallel build.
+ lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
+ while true; do
+-   if mkdir $lockdir > /dev/null 2>&1; then
+-      break
+-   fi
+-   sleep 1
++  if mkdir $lockdir > /dev/null 2>&1; then
++    break
++  fi
++  sleep 1
+ done
+ # FIXME: race condition here if user kills between mkdir and trap.
+ trap "rmdir $lockdir; exit 1" 1 2 15
+@@ -92,8 +120,17 @@
+ status=$?
+ 
+ if test -f "$cofile"; then
+-   mv "$cofile" "$ofile"
++  mv "$cofile" "$ofile"
+ fi
+ 
+ rmdir $lockdir
+ exit $status
++
++# Local Variables:
++# mode: shell-script
++# sh-indentation: 2
++# eval: (add-hook 'write-file-hooks 'time-stamp)
++# time-stamp-start: "scriptversion="
++# time-stamp-format: "%:y-%02m-%02d.%02H"
++# time-stamp-end: "$"
++# End:
+diff -Nrua arts-1.2.1/admin/config.guess arts-patched/admin/config.guess
+--- arts-1.2.1/admin/config.guess	2002-10-26 11:44:28.000000000 -0500
 +++ arts-patched/admin/config.guess	2004-01-08 21:12:01.000000000 -0600
 @@ -1,9 +1,9 @@
  #! /bin/sh
@@ -555,8 +690,8 @@
  
  # Apollos put the system type in the environment.
  
-diff -Nrua arts-1.1.94/admin/config.sub arts-patched/admin/config.sub
---- arts-1.1.94/admin/config.sub	2002-10-26 11:44:28.000000000 -0500
+diff -Nrua arts-1.2.1/admin/config.sub arts-patched/admin/config.sub
+--- arts-1.2.1/admin/config.sub	2002-10-26 11:44:28.000000000 -0500
 +++ arts-patched/admin/config.sub	2004-01-08 21:12:01.000000000 -0600
 @@ -1,9 +1,9 @@
  #! /bin/sh
@@ -936,19 +1071,58 @@
  			-vxsim* | -vxworks* | -windiss*)
  				vendor=wrs
  				;;
-diff -Nrua arts-1.1.94/admin/depcomp arts-patched/admin/depcomp
---- arts-1.1.94/admin/depcomp	2003-04-16 16:53:18.000000000 -0500
-+++ arts-patched/admin/depcomp	2003-12-15 22:48:04.000000000 -0600
-@@ -1,7 +1,7 @@
+diff -Nrua arts-1.2.1/admin/depcomp arts-patched/admin/depcomp
+--- arts-1.2.1/admin/depcomp	2003-04-16 16:53:18.000000000 -0500
++++ arts-patched/admin/depcomp	2004-01-14 19:49:36.000000000 -0600
+@@ -1,7 +1,9 @@
  #! /bin/sh
- 
+-
  # depcomp - compile a program generating dependencies as side-effects
 -# Copyright 1999, 2000 Free Software Foundation, Inc.
-+# Copyright 1999, 2000, 2003 Free Software Foundation, Inc.
++
++scriptversion=2003-11-08.23
++
++# Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
  
  # This program is free software; you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
-@@ -31,7 +31,16 @@
+@@ -25,13 +27,52 @@
+ 
+ # Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
+ 
++case $1 in
++  '')
++     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
++     exit 1;
++     ;;
++  -h | --h*)
++    cat <<\EOF
++Usage: depcomp [--help] [--version] PROGRAM [ARGS]
++
++Run PROGRAMS ARGS to compile a file, generating dependencies
++as side-effects.
++
++Environment variables:
++  depmode     Dependency tracking mode.
++  source      Source file read by `PROGRAMS ARGS'.
++  object      Object file output by `PROGRAMS ARGS'.
++  depfile     Dependency file to output.
++  tmpdepfile  Temporary file to use when outputing dependencies.
++  libtool     Whether libtool is used (yes/no).
++
++Report bugs to <bug-automake@gnu.org>.
++EOF
++    exit 0
++    ;;
++  -v | --v*)
++    echo "depcomp $scriptversion"
++    exit 0
++    ;;
++esac
++
+ if test -z "$depmode" || test -z "$source" || test -z "$object"; then
+   echo "depcomp: Variables source, object and depmode must be set" 1>&2
+   exit 1
  fi
  # `libtool' can also be set to `yes' or `no'.
  
@@ -966,7 +1140,7 @@
  tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
  
  rm -f "$tmpdepfile"
-@@ -163,19 +172,25 @@
+@@ -163,19 +204,25 @@
  
  aix)
    # The C for AIX Compiler uses -M and outputs the dependencies
@@ -998,7 +1172,7 @@
    if test $stat -eq 0; then :
    else
      rm -f "$tmpdepfile"
-@@ -183,6 +198,7 @@
+@@ -183,6 +230,7 @@
    fi
  
    if test -f "$tmpdepfile"; then
@@ -1006,7 +1180,7 @@
      # Each line is of the form `foo.o: dependent.h'.
      # Do two passes, one to just change these to
      # `$object: dependent.h' and one to simply `dependent.h:'.
-@@ -198,11 +214,9 @@
+@@ -198,11 +246,9 @@
    ;;
  
  icc)
@@ -1020,7 +1194,7 @@
    #    foo.o: sub/foo.c
    #    foo.o: sub/foo.h
    # which is wrong.  We want:
-@@ -210,6 +224,12 @@
+@@ -210,6 +256,12 @@
    #    sub/foo.o: sub/foo.h
    #    sub/foo.c:
    #    sub/foo.h:
@@ -1033,7 +1207,7 @@
  
    "$@" -MD -MF "$tmpdepfile"
    stat=$?
-@@ -219,26 +239,35 @@
+@@ -219,26 +271,35 @@
      exit $stat
    fi
    rm -f "$depfile"
@@ -1076,7 +1250,7 @@
        "$@" -MD
     fi
  
-@@ -256,8 +285,8 @@
+@@ -256,8 +317,8 @@
     fi
     if test -f "$tmpdepfile"; then
        sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
@@ -1087,7 +1261,7 @@
     else
        echo "#dummy" > "$depfile"
     fi
-@@ -270,34 +299,42 @@
+@@ -270,34 +331,42 @@
  
  dashmstdout)
    # Important note: in order to support this mode, a compiler *must*
@@ -1156,7 +1330,7 @@
    rm -f "$depfile"
    cat < "$tmpdepfile" > "$depfile"
    tr ' ' '
-@@ -315,36 +352,40 @@
+@@ -315,36 +384,40 @@
    ;;
  
  makedepend)
@@ -1224,7 +1398,7 @@
  ' | \
  ## Some versions of the HPUX 10.20 sed can't process this invocation
  ## correctly.  Breaking it into two sed invocations is a workaround.
-@@ -354,35 +395,39 @@
+@@ -354,35 +427,39 @@
  
  cpp)
    # Important note: in order to support this mode, a compiler *must*
@@ -1289,7 +1463,7 @@
    rm -f "$depfile"
    echo "$object : \\" > "$depfile"
    cat < "$tmpdepfile" >> "$depfile"
-@@ -392,34 +437,27 @@
+@@ -392,34 +469,27 @@
  
  msvisualcpp)
    # Important note: in order to support this mode, a compiler *must*
@@ -1342,20 +1516,47 @@
    rm -f "$depfile"
    echo "$object : \\" > "$depfile"
    . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::	\1 \\:p' >> "$depfile"
-diff -Nrua arts-1.1.94/admin/install-sh arts-patched/admin/install-sh
---- arts-1.1.94/admin/install-sh	2003-08-07 04:41:31.000000000 -0500
-+++ arts-patched/admin/install-sh	2003-12-15 22:48:04.000000000 -0600
-@@ -1,19 +1,37 @@
+@@ -439,3 +509,12 @@
+ esac
+ 
+ exit 0
++
++# Local Variables:
++# mode: shell-script
++# sh-indentation: 2
++# eval: (add-hook 'write-file-hooks 'time-stamp)
++# time-stamp-start: "scriptversion="
++# time-stamp-format: "%:y-%02m-%02d.%02H"
++# time-stamp-end: "$"
++# End:
+diff -Nrua arts-1.2.1/admin/install-sh arts-patched/admin/install-sh
+--- arts-1.2.1/admin/install-sh	2003-08-07 04:41:31.000000000 -0500
++++ arts-patched/admin/install-sh	2004-01-14 19:49:36.000000000 -0600
+@@ -1,19 +1,38 @@
  #!/bin/sh
- #
+-#
  # install - install a program, script, or datafile
 -# This comes from X11R5 (mit/util/scripts/install.sh).
- #
--# Copyright 1991 by the Massachusetts Institute of Technology
++
++scriptversion=2004-01-12.10
++
 +# This originates from X11R5 (mit/util/scripts/install.sh), which was
 +# later released in X11R6 (xc/config/util/install.sh) with the
 +# following copyright and license.
++#
++# Copyright (C) 1994 X Consortium
++#
++# Permission is hereby granted, free of charge, to any person obtaining a copy
++# of this software and associated documentation files (the "Software"), to
++# deal in the Software without restriction, including without limitation the
++# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
++# sell copies of the Software, and to permit persons to whom the Software is
++# furnished to do so, subject to the following conditions:
  #
+-# Copyright 1991 by the Massachusetts Institute of Technology
++# The above copyright notice and this permission notice shall be included in
++# all copies or substantial portions of the Software.
+ #
 -# Permission to use, copy, modify, distribute, and sell this software and its
 -# documentation for any purpose is hereby granted without fee, provided that
 -# the above copyright notice appear in all copies and that both that
@@ -1365,18 +1566,6 @@
 -# written prior permission.  M.I.T. makes no representations about the
 -# suitability of this software for any purpose.  It is provided "as is"
 -# without express or implied warranty.
-+# Copyright (C) 1994 X Consortium
-+#
-+# Permission is hereby granted, free of charge, to any person obtaining a copy
-+# of this software and associated documentation files (the "Software"), to
-+# deal in the Software without restriction, including without limitation the
-+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-+# sell copies of the Software, and to permit persons to whom the Software is
-+# furnished to do so, subject to the following conditions:
-+#
-+# The above copyright notice and this permission notice shall be included in
-+# all copies or substantial portions of the Software.
-+#
 +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
@@ -1394,62 +1583,851 @@
  #
  # Calling this script install-sh is preferred over install.sh, to prevent
  # `make' implicit rules from creating a file called install from it
-@@ -221,8 +239,8 @@
+@@ -23,13 +42,11 @@
+ # from scratch.  It can only install one file at a time, a restriction
+ # shared with many OS's install programs.
  
- # Make a couple of temp file names in the proper directory.
+-
+ # set DOITPROG to echo to test this script
  
+ # Don't use :- since 4.3BSD and earlier shells don't like it.
+ doit="${DOITPROG-}"
+ 
+-
+ # put in absolute paths if you don't have them in your path; or use env. vars.
+ 
+ mvprog="${MVPROG-mv}"
+@@ -41,236 +58,253 @@
+ rmprog="${RMPROG-rm}"
+ mkdirprog="${MKDIRPROG-mkdir}"
+ 
+-transformbasename=""
+-transform_arg=""
++transformbasename=
++transform_arg=
+ instcmd="$mvprog"
+ chmodcmd="$chmodprog 0755"
+-chowncmd=""
+-chgrpcmd=""
+-stripcmd=""
++chowncmd=
++chgrpcmd=
++stripcmd=
+ rmcmd="$rmprog -f"
+ mvcmd="$mvprog"
+-src=""
+-dst=""
+-dir_arg=""
+-
+-while [ x"$1" != x ]; do
+-    case $1 in
+-	-c) instcmd=$cpprog
+-	    shift
+-	    continue;;
+-
+-	-d) dir_arg=true
+-	    shift
+-	    continue;;
+-
+-	-m) chmodcmd="$chmodprog $2"
+-	    shift
+-	    shift
+-	    continue;;
+-
+-	-o) chowncmd="$chownprog $2"
+-	    shift
+-	    shift
+-	    continue;;
+-
+-	-g) chgrpcmd="$chgrpprog $2"
+-	    shift
+-	    shift
+-	    continue;;
+-
+-	-s) stripcmd=$stripprog
+-	    shift
+-	    continue;;
+-
+-	-t=*) transformarg=`echo $1 | sed 's/-t=//'`
+-	    shift
+-	    continue;;
+-
+-	-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
+-	    shift
+-	    continue;;
+-
+-	*)  if [ x"$src" = x ]
+-	    then
+-		src=$1
+-	    else
+-		# this colon is to work around a 386BSD /bin/sh bug
+-		:
+-		dst=$1
+-	    fi
+-	    shift
+-	    continue;;
+-    esac
++src=
++dst=
++dir_arg=
++
++usage="Usage: $0 [OPTION]... SRCFILE DSTFILE
++   or: $0 [OPTION]... SRCFILES... DIRECTORY
++   or: $0 -d DIRECTORIES...
++
++In the first form, install SRCFILE to DSTFILE, removing SRCFILE by default.
++In the second, create the directory path DIR.
++
++Options:
++-b=TRANSFORMBASENAME
++-c         copy source (using $cpprog) instead of moving (using $mvprog).
++-d         create directories instead of installing files.
++-g GROUP   $chgrp installed files to GROUP.
++-m MODE    $chmod installed files to MODE.
++-o USER    $chown installed files to USER.
++-s         strip installed files (using $stripprog).
++-t=TRANSFORM
++--help     display this help and exit.
++--version  display version info and exit.
++
++Environment variables override the default commands:
++  CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
++"
++
++while test -n "$1"; do
++  case $1 in
++    -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
++        shift
++        continue;;
++
++    -c) instcmd=$cpprog
++        shift
++        continue;;
++
++    -d) dir_arg=true
++        shift
++        continue;;
++
++    -g) chgrpcmd="$chgrpprog $2"
++        shift
++        shift
++        continue;;
++
++    --help) echo "$usage"; exit 0;;
++
++    -m) chmodcmd="$chmodprog $2"
++        shift
++        shift
++        continue;;
++
++    -o) chowncmd="$chownprog $2"
++        shift
++        shift
++        continue;;
++
++    -s) stripcmd=$stripprog
++        shift
++        continue;;
++
++    -t=*) transformarg=`echo $1 | sed 's/-t=//'`
++        shift
++        continue;;
++
++    --version) echo "$0 $scriptversion"; exit 0;;
++
++    *)  # When -d is used, all remaining arguments are directories to create.
++	test -n "$dir_arg" && break
++        # Otherwise, the last argument is the destination.  Remove it from $@.
++	for arg
++	do
++          if test -n "$dstarg"; then
++	    # $@ is not empty: it contains at least $arg.
++	    set fnord "$@" "$dstarg"
++	    shift # fnord
++	  fi
++	  shift # arg
++	  dstarg=$arg
++	done
++	break;;
++  esac
+ done
+ 
+-if [ x"$src" = x ]
+-then
+-	echo "$0: no input file specified" >&2
+-	exit 1
+-else
+-	:
+-fi
+-
+-if [ x"$dir_arg" != x ]; then
+-	dst=$src
+-	src=""
+-
+-	if [ -d "$dst" ]; then
+-		instcmd=:
+-		chmodcmd=""
+-	else
+-		instcmd=$mkdirprog
+-	fi
+-else
+-
+-# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
+-# might cause directories to be created, which would be especially bad
+-# if $src (and thus $dsttmp) contains '*'.
+-
+-	if [ -f "$src" ] || [ -d "$src" ]
+-	then
+-		:
+-	else
+-		echo "$0: $src does not exist" >&2
+-		exit 1
+-	fi
+-
+-	if [ x"$dst" = x ]
+-	then
+-		echo "$0: no destination specified" >&2
+-		exit 1
+-	else
+-		:
+-	fi
+-
+-# If destination is a directory, append the input filename; if your system
+-# does not like double slashes in filenames, you may need to add some logic
+-
+-	if [ -d "$dst" ]
+-	then
+-		dst=$dst/`basename "$src"`
+-	else
+-		:
+-	fi
++if test -z "$1"; then
++  if test -z "$dir_arg"; then
++    echo "$0: no input file specified." >&2
++    exit 1
++  fi
++  # It's OK to call `install-sh -d' without argument.
++  # This can happen when creating conditional directories.
++  exit 0
+ fi
+ 
+-## this sed command emulates the dirname command
+-dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
+-
+-# Make sure that the destination directory exists.
+-#  this part is taken from Noah Friedman's mkinstalldirs script
+-
+-# Skip lots of stat calls in the usual case.
+-if [ ! -d "$dstdir" ]; then
+-defaultIFS='
+-	'
+-IFS="${IFS-$defaultIFS}"
+-
+-oIFS=$IFS
+-# Some sh's can't handle IFS=/ for some reason.
+-IFS='%'
+-set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
+-IFS=$oIFS
+-
+-pathcomp=''
+-
+-while [ $# -ne 0 ] ; do
+-	pathcomp=$pathcomp$1
+-	shift
+-
+-	if [ ! -d "$pathcomp" ] ;
+-        then
+-		$mkdirprog "$pathcomp"
+-	else
+-		:
+-	fi
++for src
++do
++  # Protect names starting with `-'.
++  case $src in
++    -*) src=./$src ;;
++  esac
++
++  if test -n "$dir_arg"; then
++    dst=$src
++    src=
++
++    if test -d "$dst"; then
++      instcmd=:
++      chmodcmd=
++    else
++      instcmd=$mkdirprog
++    fi
++  else
++    # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
++    # might cause directories to be created, which would be especially bad
++    # if $src (and thus $dsttmp) contains '*'.
++    if test ! -f "$src" && test ! -d "$src"; then
++      echo "$0: $src does not exist." >&2
++      exit 1
++    fi
++
++    if test -z "$dstarg"; then
++      echo "$0: no destination specified." >&2
++      exit 1
++    fi
++
++    dst=$dstarg
++    # Protect names starting with `-'.
++    case $dst in
++      -*) dst=./$dst ;;
++    esac
+ 
+-	pathcomp=$pathcomp/
++    # If destination is a directory, append the input filename; won't work
++    # if double slashes aren't ignored.
++    if test -d "$dst"; then
++      dst=$dst/`basename "$src"`
++    fi
++  fi
++
++  # This sed command emulates the dirname command.
++  dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
++
++  # Make sure that the destination directory exists.
++
++  # Skip lots of stat calls in the usual case.
++  if test ! -d "$dstdir"; then
++    defaultIFS='
++  	'
++    IFS="${IFS-$defaultIFS}"
++
++    oIFS=$IFS
++    # Some sh's can't handle IFS=/ for some reason.
++    IFS='%'
++    set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
++    IFS=$oIFS
++
++    pathcomp=
++
++    while test $# -ne 0 ; do
++      pathcomp=$pathcomp$1
++      shift
++      test -d "$pathcomp" || $mkdirprog "$pathcomp"
++      pathcomp=$pathcomp/
++    done
++  fi
++
++  if test -n "$dir_arg"; then
++    $doit $instcmd "$dst" \
++      && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
++      && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
++      && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
++      && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
++
++  else
++    # If we're going to rename the final executable, determine the name now.
++    if test -z "$transformarg"; then
++      dstfile=`basename "$dst"`
++    else
++      dstfile=`basename "$dst" $transformbasename \
++               | sed $transformarg`$transformbasename
++    fi
++
++    # don't allow the sed command to completely eliminate the filename.
++    test -z "$dstfile" && dstfile=`basename "$dst"`
++
++    # Make a couple of temp file names in the proper directory.
++    dsttmp=$dstdir/_inst.$$_
++    rmtmp=$dstdir/_rm.$$_
++
++    # Trap to clean up those temp files at exit.
++    trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
++    trap '(exit $?); exit' 1 2 13 15
++
++    # Move or copy the file name to the temp name
++    $doit $instcmd "$src" "$dsttmp" &&
++
++    # and set any options; do chmod last to preserve setuid bits.
++    #
++    # If any of these fail, we abort the whole thing.  If we want to
++    # ignore errors from any of these, just make sure not to ignore
++    # errors from the above "$doit $instcmd $src $dsttmp" command.
++    #
++    { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
++      && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
++      && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
++      && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
++
++    # Now remove or move aside any old file at destination location.  We
++    # try this two ways since rm can't unlink itself on some systems and
++    # the destination file might be busy for other reasons.  In this case,
++    # the final cleanup might fail but the new file should still install
++    # successfully.
++    {
++      if test -f "$dstdir/$dstfile"; then
++        $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
++        || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
++        || {
++  	  echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
++  	  (exit 1); exit
++        }
++      else
++        :
++      fi
++    } &&
++
++    # Now rename the file to the real destination.
++    $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
++  fi || { (exit 1); exit; }
+ done
+-fi
+-
+-if [ x"$dir_arg" != x ]
+-then
+-	$doit $instcmd "$dst" &&
+-
+-	if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
+-	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
+-	if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
+-	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
+-else
+-
+-# If we're going to rename the final executable, determine the name now.
+-
+-	if [ x"$transformarg" = x ]
+-	then
+-		dstfile=`basename "$dst"`
+-	else
+-		dstfile=`basename "$dst" $transformbasename |
+-			sed $transformarg`$transformbasename
+-	fi
+-
+-# don't allow the sed command to completely eliminate the filename
+-
+-	if [ x"$dstfile" = x ]
+-	then
+-		dstfile=`basename "$dst"`
+-	else
+-		:
+-	fi
+-
+-# Make a couple of temp file names in the proper directory.
+-
 -	dsttmp=$dstdir/#inst.$$#
 -	rmtmp=$dstdir/#rm.$$#
-+	dsttmp=$dstdir/_inst.$$_
-+	rmtmp=$dstdir/_rm.$$_
+-
+-# Trap to clean up temp files at exit.
+-
+-	trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
+-	trap '(exit $?); exit' 1 2 13 15
+-
+-# Move or copy the file name to the temp name
+-
+-	$doit $instcmd "$src" "$dsttmp" &&
+-
+-# and set any options; do chmod last to preserve setuid bits
+-
+-# If any of these fail, we abort the whole thing.  If we want to
+-# ignore errors from any of these, just make sure not to ignore
+-# errors from the above "$doit $instcmd $src $dsttmp" command.
+-
+-	if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
+-	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
+-	if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
+-	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
+-
+-# Now remove or move aside any old file at destination location.  We try this
+-# two ways since rm can't unlink itself on some systems and the destination
+-# file might be busy for other reasons.  In this case, the final cleanup
+-# might fail but the new file should still install successfully.
+-
+-{
+-	if [ -f "$dstdir/$dstfile" ]
+-	then
+-		$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
+-		$doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
+-		{
+-		  echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
+-		  (exit 1); exit
+-		}
+-	else
+-		:
+-	fi
+-} &&
+-
+-# Now rename the file to the real destination.
+-
+-	$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
+-
+-fi &&
  
- # Trap to clean up temp files at exit.
- 
-diff -Nrua arts-1.1.94/admin/missing arts-patched/admin/missing
---- arts-1.1.94/admin/missing	2002-10-26 11:44:28.000000000 -0500
-+++ arts-patched/admin/missing	2003-12-15 22:48:04.000000000 -0600
-@@ -1,6 +1,6 @@
+ # The final little trick to "correctly" pass the exit status to the exit trap.
+-
+ {
+-	(exit 0); exit
++  (exit 0); exit
+ }
++
++# Local variables:
++# eval: (add-hook 'write-file-hooks 'time-stamp)
++# time-stamp-start: "scriptversion="
++# time-stamp-format: "%:y-%02m-%02d.%02H"
++# time-stamp-end: "$"
++# End:
+diff -Nrua arts-1.2.1/admin/missing arts-patched/admin/missing
+--- arts-1.2.1/admin/missing	2002-10-26 11:44:28.000000000 -0500
++++ arts-patched/admin/missing	2004-01-14 19:49:36.000000000 -0600
+@@ -1,6 +1,10 @@
  #! /bin/sh
  # Common stub for a few missing GNU programs while installing.
 -# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
-+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
++
++scriptversion=2003-09-02.23
++
++# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 
++#   Free Software Foundation, Inc.
  # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  
  # This program is free software; you can redistribute it and/or modify
-@@ -165,7 +165,7 @@
- WARNING: \`$1' is needed, and you do not seem to have it handy on your
-          system.  You might have modified some files without having the
+@@ -38,12 +42,23 @@
+   configure_ac=configure.in
+ fi
+ 
++msg="missing on your system"
++
+ case "$1" in
+ --run)
+   # Try to run requested program, and just exit if it succeeds.
+   run=
+   shift
+   "$@" && exit 0
++  # Exit code 63 means version mismatch.  This often happens
++  # when the user try to use an ancient version of a tool on
++  # a file that requires a minimum version.  In this case we
++  # we should proceed has if the program had been absent, or
++  # if --run hadn't been passed.
++  if test $? = 63; then
++    run=:
++    msg="probably too old"
++  fi
+   ;;
+ esac
+ 
+@@ -74,11 +89,13 @@
+   lex          create \`lex.yy.c', if possible, from existing .c
+   makeinfo     touch the output file
+   tar          try tar, gnutar, gtar, then tar without non-portable flags
+-  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]"
++  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
++
++Send bug reports to <bug-automake@gnu.org>."
+     ;;
+ 
+   -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+-    echo "missing 0.4 - GNU automake"
++    echo "missing $scriptversion (GNU Automake)"
+     ;;
+ 
+   -*)
+@@ -94,7 +111,7 @@
+     fi
+ 
+     echo 1>&2 "\
+-WARNING: \`$1' is missing on your system.  You should only need it if
++WARNING: \`$1' is $msg.  You should only need it if
+          you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
+          to install the \`Automake' and \`Perl' packages.  Grab them from
+          any GNU archive site."
+@@ -108,7 +125,7 @@
+     fi
+ 
+     echo 1>&2 "\
+-WARNING: \`$1' is missing on your system.  You should only need it if
++WARNING: \`$1' is $msg.  You should only need it if
+          you modified \`${configure_ac}'.  You might want to install the
+          \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
+          archive site."
+@@ -122,7 +139,7 @@
+     fi
+ 
+     echo 1>&2 "\
+-WARNING: \`$1' is missing on your system.  You should only need it if
++WARNING: \`$1' is $msg.  You should only need it if
+          you modified \`acconfig.h' or \`${configure_ac}'.  You might want
+          to install the \`Autoconf' and \`GNU m4' packages.  Grab them
+          from any GNU archive site."
+@@ -146,7 +163,7 @@
+     fi
+ 
+     echo 1>&2 "\
+-WARNING: \`$1' is missing on your system.  You should only need it if
++WARNING: \`$1' is $msg.  You should only need it if
+          you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
+          You might want to install the \`Automake' and \`Perl' packages.
+          Grab them from any GNU archive site."
+@@ -162,10 +179,10 @@
+     fi
+ 
+     echo 1>&2 "\
+-WARNING: \`$1' is needed, and you do not seem to have it handy on your
+-         system.  You might have modified some files without having the
++WARNING: \`$1' is needed, but is $msg.
++         You might have modified some files without having the
           proper tools for further handling them.
 -         You can get \`$1Help2man' as part of \`Autoconf' from any GNU
 +         You can get \`$1' as part of \`Autoconf' from any GNU
           archive site."
  
      file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
-@@ -326,7 +326,7 @@
- WARNING: \`$1' is needed, and you do not seem to have it handy on your
-          system.  You might have modified some files without having the
+@@ -185,7 +202,7 @@
+ 
+   bison|yacc)
+     echo 1>&2 "\
+-WARNING: \`$1' is missing on your system.  You should only need it if
++WARNING: \`$1' $msg.  You should only need it if
+          you modified a \`.y' file.  You may need the \`Bison' package
+          in order for those modifications to take effect.  You can get
+          \`Bison' from any GNU archive site."
+@@ -215,7 +232,7 @@
+ 
+   lex|flex)
+     echo 1>&2 "\
+-WARNING: \`$1' is missing on your system.  You should only need it if
++WARNING: \`$1' is $msg.  You should only need it if
+          you modified a \`.l' file.  You may need the \`Flex' package
+          in order for those modifications to take effect.  You can get
+          \`Flex' from any GNU archive site."
+@@ -243,7 +260,7 @@
+     fi
+ 
+     echo 1>&2 "\
+-WARNING: \`$1' is missing on your system.  You should only need it if
++WARNING: \`$1' is $msg.  You should only need it if
+ 	 you modified a dependency of a manual page.  You may need the
+ 	 \`Help2man' package in order for those modifications to take
+ 	 effect.  You can get \`Help2man' from any GNU archive site."
+@@ -268,7 +285,7 @@
+     fi
+ 
+     echo 1>&2 "\
+-WARNING: \`$1' is missing on your system.  You should only need it if
++WARNING: \`$1' is $msg.  You should only need it if
+          you modified a \`.texi' or \`.texinfo' file, or any other file
+          indirectly affecting the aspect of the manual.  The spurious
+          call might also be the consequence of using a buggy \`make' (AIX,
+@@ -323,10 +340,10 @@
+ 
+   *)
+     echo 1>&2 "\
+-WARNING: \`$1' is needed, and you do not seem to have it handy on your
+-         system.  You might have modified some files without having the
++WARNING: \`$1' is needed, and is $msg.
++         You might have modified some files without having the
           proper tools for further handling them.  Check the \`README' file,
 -         it often tells you about the needed prerequirements for installing
 +         it often tells you about the needed prerequisites for installing
           this package.  You may also peek at any GNU archive site, in case
           some other package would contain this missing \`$1' program."
      exit 1
-diff -Nrua arts-1.1.94/admin/ylwrap arts-patched/admin/ylwrap
---- arts-1.1.94/admin/ylwrap	2001-10-04 19:46:36.000000000 -0500
-+++ arts-patched/admin/ylwrap	2003-12-15 22:48:04.000000000 -0600
-@@ -1,6 +1,9 @@
+@@ -334,3 +351,10 @@
+ esac
+ 
+ exit 0
++
++# Local variables:
++# eval: (add-hook 'write-file-hooks 'time-stamp)
++# time-stamp-start: "scriptversion="
++# time-stamp-format: "%:y-%02m-%02d.%02H"
++# time-stamp-end: "$"
++# End:
+diff -Nrua arts-1.2.1/admin/mkinstalldirs arts-patched/admin/mkinstalldirs
+--- arts-1.2.1/admin/mkinstalldirs	2002-10-26 11:53:16.000000000 -0500
++++ arts-patched/admin/mkinstalldirs	2004-01-14 19:49:36.000000000 -0600
+@@ -1,20 +1,32 @@
  #! /bin/sh
+ # mkinstalldirs --- make directory hierarchy
+-# Author: Noah Friedman <friedman@prep.ai.mit.edu>
++
++scriptversion=2003-11-08.23
++
++# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
+ # Created: 1993-05-16
+-# Public domain
++# Public domain.
++#
++# This file is maintained in Automake, please report
++# bugs to <bug-automake@gnu.org> or send patches to
++# <automake-patches@gnu.org>.
+ 
+ errstatus=0
+ dirmode=""
+ 
+ usage="\
+-Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
++Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
++
++Create each directory DIR (with mode MODE, if specified), including all
++leading file name components.
++
++Report bugs to <bug-automake@gnu.org>."
+ 
+ # process command line arguments
+ while test $# -gt 0 ; do
+   case $1 in
+     -h | --help | --h*)         # -h for help
+-      echo "$usage" 1>&2
++      echo "$usage"
+       exit 0
+       ;;
+     -m)                         # -m PERM arg
+@@ -23,6 +35,10 @@
+       dirmode=$1
+       shift
+       ;;
++    --version)
++      echo "$0 $scriptversion"
++      exit 0
++      ;;
+     --)                         # stop option processing
+       shift
+       break
+@@ -55,12 +71,25 @@
+     if mkdir -p -- . 2>/dev/null; then
+       echo "mkdir -p -- $*"
+       exec mkdir -p -- "$@"
++    else
++      # On NextStep and OpenStep, the `mkdir' command does not
++      # recognize any option.  It will interpret all options as
++      # directories to create, and then abort because `.' already
++      # exists.
++      test -d ./-p && rmdir ./-p
++      test -d ./-- && rmdir ./--
+     fi
+     ;;
+   *)
+     if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
+       echo "mkdir -m $dirmode -p -- $*"
+       exec mkdir -m "$dirmode" -p -- "$@"
++    else
++      # Clean up after NextStep and OpenStep mkdir.
++      for d in ./-m ./-p ./-- "./$dirmode";
++      do
++        test -d $d && rmdir $d
++      done
+     fi
+     ;;
+ esac
+@@ -84,17 +113,17 @@
+       mkdir "$pathcomp" || lasterr=$?
+ 
+       if test ! -d "$pathcomp"; then
+-  	errstatus=$lasterr
++	errstatus=$lasterr
+       else
+-  	if test ! -z "$dirmode"; then
++	if test ! -z "$dirmode"; then
+ 	  echo "chmod $dirmode $pathcomp"
+-    	  lasterr=""
+-  	  chmod "$dirmode" "$pathcomp" || lasterr=$?
++	  lasterr=""
++	  chmod "$dirmode" "$pathcomp" || lasterr=$?
+ 
+-  	  if test ! -z "$lasterr"; then
+-  	    errstatus=$lasterr
+-  	  fi
+-  	fi
++	  if test ! -z "$lasterr"; then
++	    errstatus=$lasterr
++	  fi
++	fi
+       fi
+     fi
+ 
+@@ -107,5 +136,8 @@
+ # Local Variables:
+ # mode: shell-script
+ # sh-indentation: 2
++# eval: (add-hook 'write-file-hooks 'time-stamp)
++# time-stamp-start: "scriptversion="
++# time-stamp-format: "%:y-%02m-%02d.%02H"
++# time-stamp-end: "$"
+ # End:
+-# mkinstalldirs ends here
+diff -Nrua arts-1.2.1/admin/ylwrap arts-patched/admin/ylwrap
+--- arts-1.2.1/admin/ylwrap	2001-10-04 19:46:36.000000000 -0500
++++ arts-patched/admin/ylwrap	2004-01-14 19:49:36.000000000 -0600
+@@ -1,6 +1,11 @@
+ #! /bin/sh
  # ylwrap - wrapper for lex/yacc invocations.
 -# Copyright 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
++
++scriptversion=2003-11-18.20
++
++# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003
++#   Free Software Foundation, Inc.
 +#
-+# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003 Free Software
-+# Foundation, Inc.
-+#
  # Written by Tom Tromey <tromey@cygnus.com>.
  #
  # This program is free software; you can redistribute it and/or modify
-@@ -44,14 +47,6 @@
+@@ -22,44 +27,65 @@
+ # configuration script generated by Autoconf, you may include it under
+ # the same distribution terms that you use for the rest of that program.
+ 
+-# Usage:
+-#     ylwrap INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
+-# * INPUT is the input file
+-# * OUTPUT is file PROG generates
+-# * DESIRED is file we actually want
+-# * PROGRAM is program to run
+-# * ARGS are passed to PROG
+-# Any number of OUTPUT,DESIRED pairs may be used.
++# This file is maintained in Automake, please report
++# bugs to <bug-automake@gnu.org> or send patches to
++# <automake-patches@gnu.org>.
++
++case "$1" in
++  '')
++    echo "$0: No files given.  Try \`$0 --help' for more information." 1>&2
++    exit 1
++    ;;
++  --basedir)
++    basedir=$2
++    shift 2
++    ;;
++  -h|--h*)
++    cat <<\EOF
++Usage: ylwrap [--help|--version] INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
++
++Wrapper for lex/yacc invocations, renaming files as desired.
++
++  INPUT is the input file
++  OUTPUT is one file PROG generates
++  DESIRED is the file we actually want instead of OUTPUT
++  PROGRAM is program to run
++  ARGS are passed to PROG
++
++Any number of OUTPUT,DESIRED pairs may be used.
++
++Report bugs to <bug-automake@gnu.org>.
++EOF
++    exit 0
++    ;;
++  -v|--v*)
++    echo "ylwrap $scriptversion"
++    exit 0
++    ;;
++esac
++
+ 
+ # The input.
+ input="$1"
+ shift
+ case "$input" in
+- [\\/]* | ?:[\\/]*)
++  [\\/]* | ?:[\\/]*)
+     # Absolute path; do nothing.
      ;;
+- *)
++  *)
+     # Relative path.  Make it absolute.
+     input="`pwd`/$input"
+     ;;
  esac
  
 -# The directory holding the input.
@@ -1462,59 +2440,197 @@
 -
  pairlist=
  while test "$#" -ne 0; do
-    if test "$1" = "--"; then
-@@ -79,7 +74,10 @@
+-   if test "$1" = "--"; then
+-      shift
+-      break
+-   fi
+-   pairlist="$pairlist $1"
+-   shift
++  if test "$1" = "--"; then
++    shift
++    break
++  fi
++  pairlist="$pairlist $1"
++  shift
+ done
  
+ # The program to run.
+@@ -67,8 +93,8 @@
+ shift
+ # Make any relative path in $prog absolute.
+ case "$prog" in
+- [\\/]* | ?:[\\/]*) ;;
+- *[\\/]*) prog="`pwd`/$prog" ;;
++  [\\/]* | ?:[\\/]*) ;;
++  *[\\/]*) prog="`pwd`/$prog" ;;
+ esac
+ 
+ # FIXME: add hostname here for parallel makes that run commands on
+@@ -79,61 +105,105 @@
+ 
  cd $dirname
  
 -$prog ${1+"$@"} "$input"
 +case $# in
-+ 0) $prog "$input" ;;
-+ *) $prog "$@" "$input" ;;
++  0) $prog "$input" ;;
++  *) $prog "$@" "$input" ;;
 +esac
  status=$?
  
  if test $status -eq 0; then
-@@ -94,6 +92,12 @@
-       y_tab_nodot="yes"
-    fi
- 
-+   # The directory holding the input.
-+   input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
-+   # Quote $INPUT_DIR so we can use it in a regexp.
-+   # FIXME: really we should care about more than `.' and `\'.
-+   input_rx=`echo "$input_dir" | sed 's,\\\\,\\\\\\\\,g;s,\\.,\\\\.,g'`
-+
-    while test "$#" -ne 0; do
-       from="$1"
-       # Handle y_tab.c and y_tab.h output by DOS
-@@ -114,11 +118,24 @@
- 	   *) target="../$2";;
- 	 esac
- 
+-   set X $pairlist
+-   shift
+-   first=yes
+-   # Since DOS filename conventions don't allow two dots,
+-   # the DOS version of Bison writes out y_tab.c instead of y.tab.c
+-   # and y_tab.h instead of y.tab.h. Test to see if this is the case.
+-   y_tab_nodot="no"
+-   if test -f y_tab.c || test -f y_tab.h; then
+-      y_tab_nodot="yes"
+-   fi
+-
+-   while test "$#" -ne 0; do
+-      from="$1"
+-      # Handle y_tab.c and y_tab.h output by DOS
+-      if test $y_tab_nodot = "yes"; then
+-	 if test $from = "y.tab.c"; then
+-	    from="y_tab.c"
+-	 else
+-	    if test $from = "y.tab.h"; then
+-	       from="y_tab.h"
+-	    fi
+-	 fi
+-      fi
+-      if test -f "$from"; then
+-         # If $2 is an absolute path name, then just use that,
+-         # otherwise prepend `../'.
+-         case "$2" in
+-	   [\\/]* | ?:[\\/]*) target="$2";;
+-	   *) target="../$2";;
+-	 esac
+-
 -	 # Edit out `#line' or `#' directives.  We don't want the
 -	 # resulting debug information to point at an absolute srcdir;
 -	 # it is better for it to just mention the .y file with no
 -	 # path.
 -	 sed -e "/^#/ s,$input_rx,," "$from" > "$target" || status=$?
-+	 # Edit out `#line' or `#' directives.
-+	 #
-+	 # We don't want the resulting debug information to point at
-+	 # an absolute srcdir; it is better for it to just mention the
-+	 # .y file with no path.
-+	 #
-+	 # We want to use the real output file name, not yy.lex.c for
-+	 # instance.
-+	 #
-+	 # We want the include guards to be adjusted too.
-+	 FROM=`echo "$from" | sed \
-+                 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
-+                 -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
-+	 TARGET=`echo "$2" | sed \
-+                 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
-+                 -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
-+         sed "/^#/{s,$input_rx,,;s,$from,$2,;s,$FROM,$TO,;}" "$from" >"$target" ||
-+            status=$?
++  set X $pairlist
++  shift
++  first=yes
++  # Since DOS filename conventions don't allow two dots,
++  # the DOS version of Bison writes out y_tab.c instead of y.tab.c
++  # and y_tab.h instead of y.tab.h. Test to see if this is the case.
++  y_tab_nodot="no"
++  if test -f y_tab.c || test -f y_tab.h; then
++    y_tab_nodot="yes"
++  fi
++
++  # The directory holding the input.
++  input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
++  # Quote $INPUT_DIR so we can use it in a regexp.
++  # FIXME: really we should care about more than `.' and `\'.
++  input_rx=`echo "$input_dir" | sed 's,\\\\,\\\\\\\\,g;s,\\.,\\\\.,g'`
++
++  while test "$#" -ne 0; do
++    from="$1"
++    # Handle y_tab.c and y_tab.h output by DOS
++    if test $y_tab_nodot = "yes"; then
++      if test $from = "y.tab.c"; then
++    	from="y_tab.c"
        else
- 	 # A missing file is only an error for the first file.  This
- 	 # is a blatant hack to let us support using "yacc -d".  If -d
+-	 # A missing file is only an error for the first file.  This
+-	 # is a blatant hack to let us support using "yacc -d".  If -d
+-	 # is not specified, we don't want an error when the header
+-	 # file is "missing".
+-	 if test $first = yes; then
+-	    status=1
+-	 fi
++    	if test $from = "y.tab.h"; then
++    	  from="y_tab.h"
++    	fi
+       fi
+-      shift
+-      shift
+-      first=no
+-   done
++    fi
++    if test -f "$from"; then
++      # If $2 is an absolute path name, then just use that,
++      # otherwise prepend `../'.
++      case "$2" in
++    	[\\/]* | ?:[\\/]*) target="$2";;
++    	*) target="../$2";;
++      esac
++
++      # We do not want to overwrite a header file if it hasn't
++      # changed.  This avoid useless recompilations.  However the
++      # parser itself (the first file) should always be updated,
++      # because it is the destination of the .y.c rule in the
++      # Makefile.  Divert the output of all other files to a temporary
++      # file so we can compare them to existing versions.
++      if test $first = no; then
++	realtarget="$target"
++	target="tmp-`echo $target | sed s/.*[\\/]//g`"
++      fi
++      # Edit out `#line' or `#' directives.
++      #
++      # We don't want the resulting debug information to point at
++      # an absolute srcdir; it is better for it to just mention the
++      # .y file with no path.
++      #
++      # We want to use the real output file name, not yy.lex.c for
++      # instance.
++      #
++      # We want the include guards to be adjusted too.
++      FROM=`echo "$from" | sed \
++            -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
++            -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
++      TARGET=`echo "$2" | sed \
++            -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
++            -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
++
++      sed -e "/^#/!b" -e "s,$input_rx,," -e "s,$from,$2," \
++          -e "s,$FROM,$TARGET," "$from" >"$target" || status=$?
++
++      # Check whether header files must be updated.
++      if test $first = no; then
++	if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then
++	  echo "$2" is unchanged
++	  rm -f "$target"
++	else
++          echo updating "$2"
++          mv -f "$target" "$realtarget"
++        fi
++      fi
++    else
++      # A missing file is only an error for the first file.  This
++      # is a blatant hack to let us support using "yacc -d".  If -d
++      # is not specified, we don't want an error when the header
++      # file is "missing".
++      if test $first = yes; then
++        status=1
++      fi
++    fi
++    shift
++    shift
++    first=no
++  done
+ else
+-   status=$?
++  status=$?
+ fi
+ 
+ # Remove the directory.
+@@ -141,3 +211,12 @@
+ rm -rf $dirname
+ 
+ exit $status
++
++# Local Variables:
++# mode: shell-script
++# sh-indentation: 2
++# eval: (add-hook 'write-file-hooks 'time-stamp)
++# time-stamp-start: "scriptversion="
++# time-stamp-format: "%:y-%02m-%02d.%02H"
++# time-stamp-end: "$"
++# End:

Modified: trunk/packages/arts/debian/patches/05_pedantic-errors.diff
===================================================================
--- trunk/packages/arts/debian/patches/05_pedantic-errors.diff	2004-03-06 16:51:30 UTC (rev 62)
+++ trunk/packages/arts/debian/patches/05_pedantic-errors.diff	2004-03-21 22:43:10 UTC (rev 63)
@@ -1,7 +1,7 @@
-diff -Nrua arts-1.1.94/admin/acinclude.m4.in arts-patched/admin/acinclude.m4.in
---- arts-1.1.94/admin/acinclude.m4.in	2003-11-19 16:31:54.000000000 -0600
-+++ arts-patched/admin/acinclude.m4.in	2004-01-04 19:05:10.000000000 -0600
-@@ -2109,9 +2109,6 @@
+diff -Nrua arts-1.2.1/admin/acinclude.m4.in arts-patched/admin/acinclude.m4.in
+--- arts-1.2.1/admin/acinclude.m4.in	2004-02-23 15:30:44.000000000 -0600
++++ arts-patched/admin/acinclude.m4.in	2004-03-02 00:25:48.000000000 -0600
+@@ -2108,9 +2108,6 @@
  save_CXXFLAGS="$CXXFLAGS"
  kde_safe_LIBS="$LIBS"
  LIBS="$LIBS $X_EXTRA_LIBS"



Reply to: