From 4f9ba7798c66cfcb4cf50c026d85732e1f6369a6 Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Sun, 23 Mar 2003 15:34:30 +0000 Subject: unbreak tcpview on alpha Noticed by: kris and bento --- net/tcpview/files/patch-aa | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'net/tcpview/files/patch-aa') diff --git a/net/tcpview/files/patch-aa b/net/tcpview/files/patch-aa index bc71bbdcc44e..e2c09be5872a 100644 --- a/net/tcpview/files/patch-aa +++ b/net/tcpview/files/patch-aa @@ -87,17 +87,16 @@ +*/ +/* unsigned 32-bit integer */ +#endif ---- mdtype Mon Feb 17 13:29:48 1992 -+++ mdtype Tue Feb 25 23:35:31 1997 -@@ -7,10 +7,18 @@ +--- mdtype.orig Mon Feb 17 13:29:48 1992 ++++ mdtype Fri Mar 14 23:06:11 2003 +@@ -5,12 +5,15 @@ + # + set mach="UNKNOWN" if ( -f /bin/arch ) set mach=`/bin/arch` - if ($mach == "UNKNOWN") then - set temp=`machine` +-if ($mach == "UNKNOWN") then +- set temp=`machine` - if ($temp != "") set mach=$temp -endif -+ if ($temp != "") set mach=$temp -+endif -+ # Hack, hack... if ($mach == "sparc") set mach=sun4 + -- cgit v1.2.3