tfix build on SunOS (Sparc) - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 80c90f271e673a036cf208399cfc824e388249c5
 (DIR) parent f50c3e956ffbeb15f3d386752805d1baf1c708df
 (HTM) Author: Arvindh Rajesh Tamilmani <art@a-30.net>
       Date:   Fri,  9 Apr 2010 15:28:16 -0700
       
       fix build on SunOS (Sparc)
       
       R=rsc
       CC=codebot
       http://codereview.appspot.com/882044
       
       Diffstat:
         M CONTRIBUTORS                        |       1 +
         M INSTALL                             |      10 +++++++++-
         M dist/buildmk                        |       1 +
         M src/cmd/rio/key.c                   |       1 +
         M src/mkhdr                           |       1 +
       
       5 files changed, 13 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/CONTRIBUTORS b/CONTRIBUTORS
       t@@ -6,6 +6,7 @@
        Albert Lee <trisk@acm.jhu.edu>
        André Günther <Andre.G@gmx.de>
        Anthony Sorace <a@9srv.net>
       +Arvindh Rajesh Tamilmani <art@a-30.net>
        Benjamin Huntsman <BHuntsman@mail2.cu-portland.edu>
        Enrique Soriano <enrique.soriano@gmail.com>
        Eoghan Sherry <ejsherry@gmail.com>
 (DIR) diff --git a/INSTALL b/INSTALL
       t@@ -21,6 +21,14 @@ esac
        
        PLAN9=`pwd` export PLAN9
        PATH=/bin:/usr/bin:$PLAN9/bin:$PATH export PATH
       +case `uname` in
       +SunOS)
       +        awk=nawk
       +        ;;
       +*)
       +        awk=awk
       +        ;;
       +esac
        
        echo "+ Mailing list: http://groups.google.com/group/plan9port-dev"
        echo "+ Issue tracker: http://code.swtch.com/plan9port/issues/"
       t@@ -123,5 +131,5 @@ if $doinstall; then
                echo "        PLAN9=$PLAN9 export PLAN9"
                echo '        PATH=$PATH:$PLAN9/bin export PATH'
        fi
       -) 2>&1 | tee install.log | awk -f $PLAN9/dist/isum.awk -v 'copy='install.sum
       +) 2>&1 | tee install.log | $awk -f $PLAN9/dist/isum.awk -v 'copy='install.sum
        
 (DIR) diff --git a/dist/buildmk b/dist/buildmk
       t@@ -14,5 +14,6 @@ OBJTYPE=`uname -m -p | sed '
                s;.*ppc64.*;power;g;
                s;.*ppc.*;power;g;
                s;.*alpha.*;alpha;g;
       +        s;.*sun4u.*;sun4u;g;
        '` export OBJTYPE
        sh -x mkmk.sh
 (DIR) diff --git a/src/cmd/rio/key.c b/src/cmd/rio/key.c
       t@@ -6,6 +6,7 @@
        #include <X11/Xlib.h>
        #include <X11/Xutil.h>
        #include <X11/Xatom.h>
       +#include <X11/keysym.h>
        #include <X11/extensions/shape.h>
        #include "dat.h"
        #include "fns.h"
 (DIR) diff --git a/src/mkhdr b/src/mkhdr
       t@@ -12,6 +12,7 @@ OBJTYPE=`uname -m -p | sed '
                s;.*ppc64.*;power;g;
                s;.*ppc.*;power;g;
                s;.*alpha.*;alpha;g;
       +        s;.*sun4u.*;sun4u;g;
        '`
        
        BIN=$PLAN9/bin