* updated knights (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / contrib / vidix / uname.patch
blobc6e6f1c3bd6c72ee6e0002ab727c7132a943bde0
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../vidix/uname.patch
5 # Copyright (C) 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
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
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 ignore uname stderr output
18 -- mtr
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
22 @@ -125,7 +125,7 @@
23 # checking for OS name
24 if test -z "$system_name" ; then
25 # OS name
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)
31 @@ -143,7 +143,7 @@
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`
37 case "$host_arch" in
38 i386|sparc|ppc|alpha|arm|mips)
40 @@ -154,7 +154,7 @@
41 # Maybe uname -m (machine hardware name) returns something we
42 # recognize.
44 - case "`( uname -m ) 2>&1`" in
45 + case "`( uname -m ) 2>/dev/null`" in
46 i*86|x86|x86pc) host_arch=i386 ;;
47 x86_64|amd64)
48 if [ "`$_cc -dumpmachine | grep x86_64 | cut -d- -f1`" = "x86_64" -a \