From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from emory.mathcs.emory.edu ([128.140.2.1]) by hawkwind.utcs.utoronto.ca with SMTP id <24134>; Tue, 5 Sep 1995 06:44:06 -0400 Received: from skeeve.UUCP by emory.mathcs.emory.edu (5.65/Emory_mathcs.4.0.16) via UUCP id AA20066 ; Tue, 5 Sep 95 06:43:55 -0400 Return-Path: arnold@skeeve.atl.ga.us Received: by skeeve.atl.ga.us (/\==/\ Smail3.1.22.1 #22.1) id ; Tue, 5 Sep 95 06:02 EDT Message-Id: Date: Tue, 5 Sep 1995 06:02:00 -0400 From: arnold@skeeve.atl.ga.us (Arnold D. Robbins) To: 9fans@cse.purdue.edu, sam-fans@hawkwind.utcs.utoronto.ca Subject: wily under SunOS [Apologies to those of you who'll see this twice.] Here is what I had to do to get wily going under SunOS. Your mileage may vary, as a lot of this was done after initial compiles, and most of this is from memory. It should be enough though to get you going. Wily comes up and stays up, I didn't do any actual editing with it yet. First, make this change to include/u.h: *** u.h.orig Tue Sep 5 05:48:40 1995 --- u.h Mon Sep 4 23:13:54 1995 *************** *** 45,52 **** --- 45,55 ---- #endif /* UMIPS */ #ifdef SUNOS + #ifdef _POSIX_SOURCE typedef unsigned short ushort; + #endif typedef unsigned long ulong; + typedef unsigned int uint; extern char *strerror(int); extern void *memmove(void*, const void*, size_t); extern void *memcpy(void*, const void*, size_t); Second, cut this file out and put it in the top level directory as `sun.ed' and run it. ----------------------- cut here ------------------------- #!/bin/sh echo "patching libframe/frbox.c" cp -p libframe/frbox.c libframe/frbox.c.dist ed libframe/frbox.c << EOF /.*f->box.*=.*realloc/c f->box = f->box ? realloc(f->box, f->nalloc*sizeof(Frbox)) : malloc(f->nalloc*sizeof(Frbox));