summaryrefslogtreecommitdiff
path: root/misc/buffer/patches/patch-aa
blob: c68fb55dd33fdce65293e7396da586c6de09c3c1 (plain)
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
diff -udr buffer.ORG/Makefile buffer/Makefile
--- buffer.ORG/Makefile       Wed Jul 14 17:59:17 1993
+++ Makefile    Thu Oct 23 03:54:43 1997
@@ -7,8 +7,8 @@
 CFLAGS=
 
 # Where to install buffer and its manual pages
-INSTBIN=/usr/local/bin
-INSTMAN=/usr/man/manl
+INSTBIN=${PREFIX}/bin
+INSTMAN=${PREFIX}/man/manl
 # The manual page section (normally l or 1)
 S=l
 
diff -udr buffer.ORG/buffer.c buffer/buffer.c
--- buffer.ORG/buffer.c	Wed Jul 14 17:59:17 1993
+++ buffer.c	Fri Nov 17 20:23:58 1995
@@ -384,6 +384,7 @@
 }
 
 /* The interrupt handler */
+void
 shutdown()
 {
 	static int shutting;
@@ -400,6 +401,7 @@
 }
 
 /* Shutdown because the child has ended */
+void
 child_shutdown()
 {
 	/* Find out which child has died.  (They may not be my