sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
From: arnold@skeeve.atl.ga.us (Arnold D. Robbins)
To: 9fans@cse.purdue.edu, sam-fans@hawkwind.utcs.utoronto.ca
Subject: wily under SunOS
Date: Tue, 5 Sep 1995 06:02:00 -0400	[thread overview]
Message-ID: <m0spupN-00014VC@skeeve.atl.ga.us> (raw)

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


                 reply	other threads:[~1995-09-05 10:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m0spupN-00014VC@skeeve.atl.ga.us \
    --to=arnold@skeeve.atl.ga.us \
    --cc=9fans@cse.purdue.edu \
    --cc=sam-fans@hawkwind.utcs.utoronto.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).