1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../vidix/uname.patch
5 # Copyright (C) 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 ignore uname stderr output
20 --- vidix-0.9.9.2/configure.orig 2005-06-28 17:16:47.000000000 +0200
21 +++ vidix-0.9.9.2/configure 2006-10-09 16:32:56.000000000 +0200
23 # checking for OS name
24 if test -z "$system_name" ; then
26 - system_name=`( uname -s ) 2>&1`
27 + system_name=`( uname -s ) 2>/dev/null`
28 case "$system_name" in
29 Linux|FreeBSD|NetBSD|BSD/OS|OpenBSD|SunOS|QNX)
33 # host's CPU/instruction set
34 if test -z "$host_arch" ; then
35 -host_arch=`( uname -p ) 2>&1`
36 +host_arch=`( uname -p ) 2>/dev/null`
38 i386|sparc|ppc|alpha|arm|mips)
41 # Maybe uname -m (machine hardware name) returns something we
44 - case "`( uname -m ) 2>&1`" in
45 + case "`( uname -m ) 2>/dev/null`" in
46 i*86|x86|x86pc) host_arch=i386 ;;
48 if [ "`$_cc -dumpmachine | grep x86_64 | cut -d- -f1`" = "x86_64" -a \