1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/editors/beav/files/patch-a
1996-03-03 11:33:46 +00:00

91 lines
2.3 KiB
Plaintext

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,26 ----
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 beav140.txt $(PREFIX)/share/doc/beav.txt
! 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;
diff -c beav-140.orig/beav.1 beav-140/beav.1
*** beav-140.orig/beav.1 Sun Mar 3 03:13:16 1996
--- beav-140/beav.1 Sun Mar 3 03:14:31 1996
***************
*** 59,63 ****
If there is any data that has not been saved you will be warned.
.PP
.SH FILES
! /usr/doc/beav/beav.txt
--- 59,63 ----
If there is any data that has not been saved you will be warned.
.PP
.SH FILES
! /usr/local/share/doc/beav.txt