aboutsummaryrefslogtreecommitdiff
path: root/print/lprps-letter/files
diff options
context:
space:
mode:
Diffstat (limited to 'print/lprps-letter/files')
-rw-r--r--print/lprps-letter/files/patch-aa29
-rw-r--r--print/lprps-letter/files/patch-ab11
-rw-r--r--print/lprps-letter/files/patch-ac11
-rw-r--r--print/lprps-letter/files/patch-ad13
4 files changed, 64 insertions, 0 deletions
diff --git a/print/lprps-letter/files/patch-aa b/print/lprps-letter/files/patch-aa
new file mode 100644
index 000000000000..343b98251cfc
--- /dev/null
+++ b/print/lprps-letter/files/patch-aa
@@ -0,0 +1,29 @@
+--- Makefile.orig Wed Sep 11 03:08:08 1996
++++ Makefile Wed Sep 11 03:11:29 1996
+@@ -3,21 +3,21 @@
+ # Define IIg to enable a workaround for a bug in the serial
+ # driver of the Laserwriter IIf and IIg; this requires the POSIX
+ # tcdrain() function. (I haven't tested this personally.)
+-DEFINES=-DA4 #-DIIg
+-PREFIX=/usr/local
++DEFINES=-D$(PAPERSIZE)
+ # Where to install public executables.
+ BINDIR=$(PREFIX)/bin
+ # Where to install private executables.
+-LIBDIR=$(PREFIX)/lib
++LIBDIR=$(PREFIX)/libexec
+ # Define REV_COMMAND to be empty if documents don't need to
+ # be printed in reverse order.
+-REV_COMMAND=$(BINDIR)/psrev |
++#REV_COMMAND=$(BINDIR)/psrev |
++REV_COMMAND=
+ # Where to install the filter for text files.
+ TEXT_FILTER=$(LIBDIR)/psif-text
+ # Where to install the filter for PostScript files.
+ PS_FILTER=$(LIBDIR)/psif-ps
+ # Where to install PostScript banner printing code
+-BANNER=$(LIBDIR)/banner.ps
++BANNER=$(PREFIX)/share/misc/banner.ps
+ # Filter to convert text to PostScript. You can use your own instead.
+ # It must be able to read from standard input.
+ TEXT_TO_PS=$(BINDIR)/textps
diff --git a/print/lprps-letter/files/patch-ab b/print/lprps-letter/files/patch-ab
new file mode 100644
index 000000000000..790965d40b38
--- /dev/null
+++ b/print/lprps-letter/files/patch-ab
@@ -0,0 +1,11 @@
+--- lprps.c.orig Wed Sep 11 03:12:26 1996
++++ lprps.c Wed Sep 11 03:14:28 1996
+@@ -346,7 +346,7 @@
+ char *strsignal(n)
+ int n;
+ {
+- extern char *sys_siglist[];
++ /* extern char *sys_siglist[]; */
+ static char buf[32];
+ if (n >= 0 && n < NSIG)
+ return sys_siglist[n];
diff --git a/print/lprps-letter/files/patch-ac b/print/lprps-letter/files/patch-ac
new file mode 100644
index 000000000000..095b9d6ab36d
--- /dev/null
+++ b/print/lprps-letter/files/patch-ac
@@ -0,0 +1,11 @@
+--- psof.c.orig Wed Sep 11 03:12:36 1996
++++ psof.c Wed Sep 11 03:15:16 1996
+@@ -216,7 +216,7 @@
+ if ((status & 0xff) != 0) {
+ int sig = status & 0x7f;
+ if (sig < NSIG) {
+- extern char *sys_siglist[];
++ /* extern char *sys_siglist[]; */
+ syslog(LOG_ERR, "%s: %s%s", LPRPS, sys_siglist[sig],
+ (status & 0x80) ? " (core dumped)" : "");
+ }
diff --git a/print/lprps-letter/files/patch-ad b/print/lprps-letter/files/patch-ad
new file mode 100644
index 000000000000..60604d868073
--- /dev/null
+++ b/print/lprps-letter/files/patch-ad
@@ -0,0 +1,13 @@
+--- psrev.c.orig Wed Sep 11 03:12:11 1996
++++ psrev.c Wed Sep 11 03:13:12 1996
+@@ -24,8 +24,8 @@
+ void sys_error(message, arg)
+ char *message, *arg;
+ {
+- extern char *sys_errlist[];
+- extern int sys_nerr;
++ /* extern char *sys_errlist[]; */
++ /* extern int sys_nerr; */
+ int en;
+
+ en = errno;