From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrey mirtchovski To: 9fans@cse.psu.edu Subject: Re: [9fans] plan 9 ports to unix (including libdraw) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue, 14 Oct 2003 12:09:38 -0600 Topicbox-Message-UUID: 6ead20ee-eacc-11e9-9e20-41e7f4b1d025 Just for fun I tried compiling my xscr ports for linux/fbsd using your plan9.tar.gz port... Here's what I had to add in order to get them going, cvs diff against the current repository (unchanged parts skipped): cvs server: Diffing include Index: include/lib9.h =================================================================== RCS file: /cvs/plan9/include/lib9.h,v retrieving revision 1.4 diff -r1.4 lib9.h 296a297,301 > > #define HUGE 3.4028234e38 > #define PIO2 1.570796326794896619231e0 > #define PI (PIO2+PIO2) > cvs server: Diffing src/lib9 Index: src/lib9/Makefile =================================================================== RCS file: /cvs/plan9/src/lib9/Makefile,v retrieving revision 1.6 diff -r1.6 Makefile 21a22,23 > lrand.$O\ > frand.$O\ both lrand and frand are from /sys/src/libc/port, with the definition of 'srand' in lrand commented out -- it just uses the unix libc one by default. andrey