🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by John Gilmore Tue, 04 Oct 1988 13:44
Minor patches to gnudiff 1.1
#1366
Author: John Gilmore
Date: Tue, 04 Oct 1988 13:44
62 lines
1760 bytes
Here's what it took to get gnudiff up on hoptoad (Sparc/SunOS 4.0).
Makefile changes avoid gnumake dependency, support 'make install'.
Regex.c change makes alloca work on Sparc.  It seems to work...

	John

diff -c -r1.1 Makefile
*** /tmp/,RCSt1a04621	Tue Oct  4 06:40:57 1988
--- Makefile	Tue Oct  4 06:40:41 1988
***************
*** 23,28 ****
--- 23,30 ----
  # but gcc makes it faster.
  CC=gcc -g
  CFLAGS = -O
+ DESTDIR=
+ TARGETDIR=/usr/free
  
  
  SRCS=diff.c analyze.c io.c context.c ed.c normal.c util.c dir.c diff.h \
***************
*** 31,37 ****
  TAPEFILES = $(SRCS) README diagmeet.note Makefile COPYING
  
  diff: $(OBJS)
! 	$(CC) -o diff $(CFLAGS) $(LDFLAGS) $^
  
  $(OBJS): diff.h
  
--- 33,39 ----
  TAPEFILES = $(SRCS) README diagmeet.note Makefile COPYING
  
  diff: $(OBJS)
! 	$(CC) -o diff $(CFLAGS) $(LDFLAGS) $(OBJS)
  
  $(OBJS): diff.h
  
***************
*** 39,44 ****
--- 41,49 ----
  
  clean:
  	rm *.o diff
+ 
+ install:
+ 	install diff $(DESTDIR)$(TARGETDIR)/diff
  
  diff.tar: $(TAPEFILES)
  	mkdir tmp
diff -c -r1.1 regex.c
*** /tmp/,RCSt1a04621	Tue Oct  4 06:40:59 1988
--- regex.c	Tue Oct  4 06:40:39 1988
***************
*** 108,113 ****
--- 108,114 ----
   which reads a pattern, describes how it compiles,
   then reads a string and searches for it.  */
  
+ #include <alloca.h>
  
  #ifdef emacs
  
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads