aboutsummaryrefslogtreecommitdiff
path: root/editors/beav/files/patch-a
blob: 94ce9843e9bb29e64b44bed07ef08087748f9551 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
diff -c beav-140.orig/Makefile beav-140/Makefile
*** beav-140.orig/Makefile	Wed Nov 30 19:19:47 1994
--- beav-140/Makefile	Sat Jul  1 18:07:14 1995
***************
*** 1,5 ****
  # This is the makefile for BSD UNIX
! CFLAGS=     -O2 -DUNIX -DNOPROTO
  
  OFILES=		basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
  	buffer.o echo.o language.o main.o search.o tty.o window.o \
--- 1,5 ----
  # This is the makefile for BSD UNIX
! CFLAGS+=     -DUNIX -DNOPROTO -DBSD
  
  OFILES=		basic.o ebcdic.o fileio.o region.o text.o wangpc.o \
  	buffer.o echo.o language.o main.o search.o tty.o window.o \
***************
*** 14,20 ****
  
  HFILES=     def.h
  
! beav:     $(OFILES)
  	$(CC) $(CFLAGS) $(OFILES) -s -ltermcap -lc -o beav
  
! (OFILES):  $(HFILES)
--- 14,25 ----
  
  HFILES=     def.h
  
! all beav:     $(OFILES)
  	$(CC) $(CFLAGS) $(OFILES) -s -ltermcap -lc -o beav
  
! install: beav
! 	install -c -s -m 755 -g bin -o bin beav $(PREFIX)/bin
! 	install -c -m 644 -g bin -o bin beav.1 $(PREFIX)/man/man1
! 	gzip -9nf $(PREFIX)/man/man1/beav.1
! 
! $(OFILES):  $(HFILES)
diff -c beav-140.orig/termio.c beav-140/termio.c
*** beav-140.orig/termio.c	Wed Nov 30 18:43:35 1994
--- beav-140/termio.c	Sat Jul  1 17:56:09 1995
***************
*** 12,17 ****
--- 12,20 ----
  #include    <signal.h>
  #ifdef BSD
  #include    <sys/ioctl.h>
+ #ifdef __FreeBSD__
+ #include <sys/ioctl_compat.h>
+ #endif
  #else
  #ifdef OS2
  #ifndef __EMX__
diff -c beav-140.orig/tcap.c beav-140/tcap.c
*** beav-140.orig/tcap.c	Sat Jul  1 18:32:02 1995
--- beav-140/tcap.c	Sat Jul  1 18:24:29 1995
***************
*** 38,44 ****
  
  #ifdef BSD
  #include <sys/ioctl.h>
! struct winsize ttysize;
  #endif /* BSD */
  #ifdef ULTRIX
  struct winsize ttysize;
--- 38,44 ----
  
  #ifdef BSD
  #include <sys/ioctl.h>
! struct ttysize ttysize;
  #endif /* BSD */
  #ifdef ULTRIX
  struct winsize ttysize;