sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
* wily under SunOS
@ 1995-09-05 10:02 Arnold D. Robbins
  0 siblings, 0 replies; only message in thread
From: Arnold D. Robbins @ 1995-09-05 10:02 UTC (permalink / raw)
  To: 9fans, sam-fans

[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));


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-09-05 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-09-05 10:02 wily under SunOS Arnold D. Robbins

sam-fans - fans of the sam editor

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/sam-fans

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 sam-fans sam-fans/ http://inbox.vuxu.org/sam-fans \
		sam-fans@hawkwind.utcs.toronto.edu
	public-inbox-index sam-fans

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.sam-fans


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git