[comp.unix.i386] Here are some diffs for emacs 18.55

dmocsny@uceng.UC.EDU (daniel mocsny) (12/08/89)

Hello again everybody.

Some time ago I mentioned that a friend of mine got GNU emacs 18.55
running under v.2.0.2 of Interactive's 386ix. I have had several
requests for the diffs. Well, I finally got around to collecting them.
I haven't actually tried to build emacs myself using these diffs, so I
can't vouch for their accuracy. Nonetheless, they are probably better
than nothing, which is what some people apparently had before. So here
they are. I made a passing effort to make the diffs somewhat readable
to Larry Wall's patch program, but I haven't tested them with patch
either so that might not fly. But who cares, since the changes are not
long.

So basically I'm disclaiming everything I can possibly think of
disclaiming. (Does that mean I qualify for the system software
business?) If anybody tries these diffs and finds they don't work,
well, don't come crying to me, look a gift horse in the mouth, or
attempt to invoke any other flags on the cliche(1) command. Instead,
fix 'em, flame me for blowing it, and post.

Good luck!

Dan Mocsny
dmocsny@uceng.uc.edu

Index: ./etc/Makefile
1,3c1
< CFLAGS= -O -s
< # For 386/ix.  Needed for movemail
< LOADLIBES= -linet
---
> CFLAGS= -g
Index: ./src/config.h
27,32c27
< #include "s-usg5-3.h"
< #define HAVE_PTYS		/* LOCAL - 386/ix 2.02 w/ hbtcp */
< #define SYSV_PTYS		/* LOCAL - 386/ix 2.02 w/ hbtcp */
< #define HAVE_SOCKETS		/* LOCAL - 386/ix 2.02 w/ hbtcp */
< #define USG5_3_2		/* LOCAL - 386/ix 2.02 w/ hbtcp */
< #define LIBS_SYSTEM	-linet	/* LOCAL - 386/ix 2.02 w/ hbtcp */
---
> #include "s-bsd4-2.h"
39c34
< #include "m-intel386.h"
---
> #include "m-vax.h"
Index: ./src/process.c
52,55d51
< #ifdef USG5_3_2
< #include <sys/stream.h>
< #include <sys/ptem.h>
< #endif	/* USG5_3_2 */
Index: ./src/sysdep.c
130,132d129
< #ifdef USG5_3_2
< #undef TIOCGETC  /* Avoid confusing some conditionals that test this.  */
< #endif
Index: ./src/ymakefile
145c145
< CFLAGS= C_OPTIMIZE_SWITCH -Demacs $(MYCPPFLAG) C_SWITCH_MACHINE C_SWITCH_SYSTEM
---
> CFLAGS= C_DEBUG_SWITCH -Demacs $(MYCPPFLAG) C_SWITCH_MACHINE C_SWITCH_SYSTEM

scott@cdp.UUCP (01/02/90)

To compile GNU Emacs for 386/ix 2.0.2 (Sys V/386, release 3.2),
you need to compile fns.c without the -O option, otherwise
C-S and C-R cause coredumps in Fconcat().

Scott Weikart
pyramid!cdp!scott