summaryrefslogtreecommitdiff
path: root/textproc/kbanner
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-05-31 13:00:29 +0000
committerseb <seb@pkgsrc.org>2002-05-31 13:00:29 +0000
commit98be43d88b125de27c09cd6089995d221e45e559 (patch)
tree0b5199391cbea9cb3632b2f9d5cd17c337afac4a /textproc/kbanner
parentdb5a700d20fd2ff01286c8f231d8efd906a6f323 (diff)
downloadpkgsrc-98be43d88b125de27c09cd6089995d221e45e559.tar.gz
Reimport of package kbanner from japanese/kbanner into textproc/kbanner.
This is part of the japanese category retirement. CATEGORIES adjusted.
Diffstat (limited to 'textproc/kbanner')
-rw-r--r--textproc/kbanner/DESCR3
-rw-r--r--textproc/kbanner/Makefile15
-rw-r--r--textproc/kbanner/PLIST3
-rw-r--r--textproc/kbanner/distinfo10
-rw-r--r--textproc/kbanner/patches/patch-aa33
-rw-r--r--textproc/kbanner/patches/patch-ab53
-rw-r--r--textproc/kbanner/patches/patch-ac235
-rw-r--r--textproc/kbanner/patches/patch-ad235
-rw-r--r--textproc/kbanner/patches/patch-ae226
-rw-r--r--textproc/kbanner/patches/patch-af21
10 files changed, 834 insertions, 0 deletions
diff --git a/textproc/kbanner/DESCR b/textproc/kbanner/DESCR
new file mode 100644
index 00000000000..35fb22acfeb
--- /dev/null
+++ b/textproc/kbanner/DESCR
@@ -0,0 +1,3 @@
+Kbanner reads each filename in sequence and displays it
+in large letters on the standard output. JIS, EUC, and
+Shifted-JIS codes are available for kanji code.
diff --git a/textproc/kbanner/Makefile b/textproc/kbanner/Makefile
new file mode 100644
index 00000000000..87302d2c16d
--- /dev/null
+++ b/textproc/kbanner/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 13:00:29 seb Exp $
+
+DISTNAME= kbanner2
+PKGNAME= kbanner-2.1
+CATEGORIES= japanese textproc
+MASTER_SITES= ftp://ginkaku.kudpc.kyoto-u.ac.jp/program/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.kudpc.kyoto-u.ac.jp/~yasuoka/program.html
+COMMENT= Display kanji files in large letters
+
+ALL_TARGET= kbanner
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/kbanner/PLIST b/textproc/kbanner/PLIST
new file mode 100644
index 00000000000..74da37508df
--- /dev/null
+++ b/textproc/kbanner/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/31 13:00:29 seb Exp $
+bin/kbanner
+man/man1/kbanner.1
diff --git a/textproc/kbanner/distinfo b/textproc/kbanner/distinfo
new file mode 100644
index 00000000000..7951f653876
--- /dev/null
+++ b/textproc/kbanner/distinfo
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/31 13:00:29 seb Exp $
+
+SHA1 (kbanner2.tar.Z) = a557fd49ef76797513894ac8f7e218be52efb219
+Size (kbanner2.tar.Z) = 240221 bytes
+SHA1 (patch-aa) = 0b30d5b1af326e28fe581486931336b27dd26124
+SHA1 (patch-ab) = a85c604703743047147e15a48705ad5f517e5273
+SHA1 (patch-ac) = 1f6964b8c936199e408ab5aceb06ddeb1a249751
+SHA1 (patch-ad) = 9f3a26d4ac3eab9e9c0094d02de09925f47b2b7b
+SHA1 (patch-ae) = d4a97bba0fac13b728335b98b7369d47e8aa9b8d
+SHA1 (patch-af) = 2d8c602ccc0990ffc0c5c1711b8e5c707e710126
diff --git a/textproc/kbanner/patches/patch-aa b/textproc/kbanner/patches/patch-aa
new file mode 100644
index 00000000000..63c1c1645f3
--- /dev/null
+++ b/textproc/kbanner/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 13:00:29 seb Exp $
+
+--- Makefile.orig Fri Oct 15 14:19:54 1993
++++ Makefile Thu May 18 00:48:33 2000
+@@ -1,21 +1,21 @@
+ SHELL = /bin/sh
+-DESTDIR = /usr/local/bin
+-MANUAL = /usr/local/man/man1/kbanner.1
+-CFLAGS = -O -KEOPT -KBREG -KINF
++DESTDIR = $(PREFIX)/bin
++MANUAL = $(PREFIX)/man/man1/kbanner.1
++#CFLAGS = -O -KEOPT -KBREG -KINF
+ OBJ = kbanner.o font1.o font2.o font3.o
+
+ .SUFFIXES: .c .o
+
+ .c.o:
+- cc -c $(CFLAGS) $<
++ $(CC) -c $(CFLAGS) $<
+
+ kbanner: $(OBJ)
+- cc $(OBJ) -o kbanner
++ $(CC) $(OBJ) -o kbanner
+ strip kbanner
+
+ clean:
+ rm -f *.o core
+
+ install: kbanner
+- cp kbanner $(DESTDIR)/
+- cp kbanner.1 $(MANUAL)
++ $(BSD_INSTALL_PROGRAM) kbanner $(DESTDIR)/
++ $(BSD_INSTALL_MAN) kbanner.1 $(MANUAL)
diff --git a/textproc/kbanner/patches/patch-ab b/textproc/kbanner/patches/patch-ab
new file mode 100644
index 00000000000..685c6192228
--- /dev/null
+++ b/textproc/kbanner/patches/patch-ab
@@ -0,0 +1,53 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 13:00:29 seb Exp $
+
+--- kbanner.c.orig Fri Oct 15 17:43:31 1993
++++ kbanner.c Thu May 18 00:28:39 2000
+@@ -3,7 +3,7 @@
+ #include <stdio.h>
+
+ extern char *malloc();
+-extern unsigned short
++extern const unsigned short
+ font21[],font22[],font23[],font24[],font25[],font26[],font27[],
+ font28[],
+ font30[],font31[],font32[],font33[],font34[],font35[],font36[],font37[],
+@@ -16,7 +16,7 @@
+ font68[],font69[],font6a[],font6b[],font6c[],font6d[],font6e[],font6f[],
+ font70[],font71[],font72[],font73[],font74[];
+
+-unsigned short *font[]={
++const unsigned short *const font[]={
+ font21,font22,font23,font24,font25,font26,font27,
+ font28, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ font30,font31,font32,font33,font34,font35,font36,font37,
+@@ -31,7 +31,7 @@
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL
+ };
+
+-int table[]={
++const int table[]={
+ 0x212a,0x2149,0x2174,0x2170,0x2173,0x2175,0x2147,
+ 0x214a,0x214b,0x2176,0x215c,0x2124,0x215d,0x2125,0x213f,
+ 0x2330,0x2331,0x2332,0x2333,0x2334,0x2335,0x2336,0x2337,
+@@ -55,10 +55,10 @@
+ };
+
+ int landscape,small,column,col,mime,encoding,bufindex,buflength;
+-unsigned short **image;
++const unsigned short **image;
+ int buf[16];
+
+-int b_encoding[]={
++const int b_encoding[]={
+ -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
+ -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
+ -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,
+@@ -121,7 +121,7 @@
+ }
+ if(landscape)
+ column=1;
+- if((image=(unsigned short**)malloc(sizeof(unsigned short*)*column))==NULL){
++ if((image=(const unsigned short**)malloc(sizeof(unsigned short*)*column))==NULL){
+ fprintf(stderr,"%s: Not enough memory\n",com);
+ exit(1);
+ }
diff --git a/textproc/kbanner/patches/patch-ac b/textproc/kbanner/patches/patch-ac
new file mode 100644
index 00000000000..61f4c9fced6
--- /dev/null
+++ b/textproc/kbanner/patches/patch-ac
@@ -0,0 +1,235 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/05/31 13:00:29 seb Exp $
+
+--- font1.c.orig Fri Oct 15 14:18:50 1993
++++ font1.c Thu May 18 00:27:02 2000
+@@ -1,4 +1,4 @@
+-unsigned short font21[]={
++const unsigned short font21[]={
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+@@ -188,7 +188,7 @@
+ 0x0180,0x0240,0x0420,0x0810,0x1008,0x2004,0x4002,0x8001,
+ 0x8001,0x4002,0x2004,0x1008,0x0810,0x0420,0x0240,0x0180
+ };
+-unsigned short font22[]={
++const unsigned short font22[]={
+ 0x0180,0x03c0,0x07e0,0x0ff0,0x1ff8,0x3ffc,0x7ffe,0xffff,
+ 0xffff,0x7ffe,0x3ffc,0x1ff8,0x0ff0,0x07e0,0x03c0,0x0180,
+ 0x0000,0x7ffe,0x4002,0x4002,0x4002,0x4002,0x4002,0x4002,
+@@ -378,7 +378,7 @@
+ 0x03c0,0x0c30,0x1008,0x2004,0x4002,0x4002,0x8001,0x8001,
+ 0x8001,0x8001,0x4002,0x4002,0x2004,0x1008,0x0c30,0x03c0
+ };
+-unsigned short font23[]={
++const unsigned short font23[]={
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+@@ -568,7 +568,7 @@
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
+ };
+-unsigned short font24[]={
++const unsigned short font24[]={
+ 0x0000,0x0000,0x0000,0x0000,0x0100,0x0100,0x1ff8,0x0240,
+ 0x03f0,0x0658,0x0a4c,0x1284,0x1284,0x110c,0x0e18,0x0060,
+ 0x0200,0x0200,0x3ff8,0x0400,0x0440,0x07f0,0x1c5c,0x3444,
+@@ -758,7 +758,7 @@
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
+ };
+-unsigned short font25[]={
++const unsigned short font25[]={
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x1ffc,0x000c,
+ 0x0118,0x0130,0x0100,0x0100,0x0300,0x0200,0x0600,0x0c00,
+ 0x0000,0x0000,0x7ffe,0x0006,0x010c,0x0118,0x0130,0x0100,
+@@ -948,7 +948,7 @@
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
+ };
+-unsigned short font26[]={
++const unsigned short font26[]={
+ 0x0000,0x0100,0x0100,0x0380,0x0280,0x06c0,0x0440,0x0c60,
+ 0x0820,0x1ff0,0x1010,0x3018,0x2008,0xf83e,0x0000,0x0000,
+ 0x0000,0x3fe0,0x0810,0x0808,0x0808,0x0808,0x0810,0x0fe0,
+@@ -1138,7 +1138,7 @@
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
+ };
+-unsigned short font27[]={
++const unsigned short font27[]={
+ 0x0000,0x0100,0x0700,0x0380,0x0280,0x06c0,0x0440,0x0c60,
+ 0x0820,0x1ff0,0x1010,0x3018,0x2008,0xf83e,0x0000,0x0000,
+ 0x0000,0x3ff8,0x0808,0x0808,0x0800,0x0800,0x0800,0x0ff0,
+@@ -1328,7 +1328,7 @@
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
+ };
+-unsigned short font28[]={
++const unsigned short font28[]={
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xffff,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0100,0x0100,0x0100,0x0100,0x0100,0x0100,0x0100,0x0100,
+@@ -1518,7 +1518,7 @@
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
+ };
+-unsigned short font30[]={
++const unsigned short font30[]={
+ 0x0000,0x7ffe,0x0440,0x0440,0x0440,0x3ffc,0x2444,0x2444,
+ 0x2444,0x2444,0x3ffc,0x0440,0x0440,0x0440,0xffff,0x0000,
+ 0x0000,0x0fff,0xf090,0x9090,0x9090,0x97fe,0x9492,0x9492,
+@@ -1708,7 +1708,7 @@
+ 0x0420,0xffff,0x0420,0x0000,0x7830,0x4848,0x48b4,0x5303,
+ 0x50fc,0x4808,0x49fe,0x4800,0x5bff,0x4084,0x413e,0x43e3
+ };
+-unsigned short font31[]={
++const unsigned short font31[]={
+ 0x0020,0x7820,0x4bfe,0x4a02,0x4a02,0x51fc,0x5000,0x4800,
+ 0x4fff,0x4890,0x4890,0x4890,0x5990,0x4111,0x4313,0x460e,
+ 0x0020,0x7870,0x48d8,0x498c,0x4b76,0x5603,0x51fc,0x4808,
+@@ -1898,7 +1898,7 @@
+ 0x0080,0x0080,0x3fff,0x2000,0x20c0,0x2060,0x2130,0x2110,
+ 0x2500,0x2504,0x2506,0x2d03,0x6901,0x4904,0xc18c,0x00f8
+ };
+-unsigned short font32[]={
++const unsigned short font32[]={
+ 0x2000,0x23fe,0x2222,0x2222,0xfa22,0x23fe,0x2222,0x2222,
+ 0x2222,0x3a22,0xe3fe,0x2020,0x2020,0x2020,0x2020,0x6020,
+ 0x0000,0xfbfe,0x8820,0x8820,0x8820,0x8820,0xf820,0x8bfe,
+@@ -2088,7 +2088,7 @@
+ 0x0040,0x0040,0xfe40,0x027f,0x0244,0x02c4,0x7ea4,0x41ac,
+ 0x4028,0x4038,0x4010,0x4238,0x6228,0x3e6c,0x00c6,0x0183
+ };
+-unsigned short font33[]={
++const unsigned short font33[]={
+ 0x0804,0x1064,0x7f34,0x4914,0x4904,0x7f64,0x4934,0x4914,
+ 0x7f07,0x247c,0x2504,0x2544,0x27c4,0x6405,0x4603,0xc3fe,
+ 0x0100,0x0100,0x7bfe,0x4a00,0x4c00,0x49fc,0x4924,0x7924,
+@@ -2278,7 +2278,7 @@
+ 0x0810,0x0810,0xffff,0x0810,0x0100,0x7ffe,0x4002,0x5ffa,
+ 0x0000,0x1ff8,0x1008,0x1ff8,0x1008,0x1ff8,0x0000,0xffff
+ };
+-unsigned short font34[]={
++const unsigned short font34[]={
+ 0x0000,0xf11e,0x1542,0x1542,0x1542,0xf11e,0x8ff0,0x8110,
+ 0xf39e,0x1382,0x1542,0x1542,0x1922,0x3106,0x2104,0xe01c,
+ 0x0102,0x0112,0x0112,0x0112,0x6312,0x3212,0x1a12,0x0e12,
+@@ -2468,7 +2468,7 @@
+ 0x0100,0xffff,0x0410,0x0808,0x3ff4,0x0000,0x1108,0xffff,
+ 0x1108,0x1ff8,0x0100,0xffff,0x0520,0x1d38,0xf10f,0x0100
+ };
+-unsigned short font35[]={
++const unsigned short font35[]={
+ 0x2122,0x2224,0x26ad,0xf922,0x2225,0x22af,0x67a4,0x7022,
+ 0x6bff,0xaa20,0xa212,0x2314,0x2288,0x2695,0x2427,0x2cc2,
+ 0x1000,0x11fc,0x5004,0x51fc,0x5004,0x51fc,0x5000,0x57ff,
+@@ -2658,7 +2658,7 @@
+ 0x0100,0x0100,0x0100,0xffff,0x0000,0x1ff8,0x1008,0x1008,
+ 0x1008,0x1ff8,0x0100,0x0910,0x1918,0x310c,0xe107,0x0700
+ };
+-unsigned short font36[]={
++const unsigned short font36[]={
+ 0x1108,0x1108,0x3108,0x2108,0x27fe,0x6108,0x6108,0xa108,
+ 0x2108,0x2108,0x2fff,0x2000,0x2108,0x230c,0x2606,0x2c03,
+ 0x1040,0x1040,0x37fe,0x2040,0x2444,0x664c,0x6248,0xa248,
+@@ -2848,7 +2848,7 @@
+ 0x0000,0x3ffe,0x2002,0x2002,0x3ffe,0x2000,0x2040,0x2444,
+ 0x2444,0x2444,0x27fc,0x2040,0x6842,0x4842,0xc842,0x0ffe
+ };
+-unsigned short font37[]={
++const unsigned short font37[]={
+ 0x2000,0x23fe,0x2202,0x2202,0xfbfe,0x2200,0x2210,0x2292,
+ 0x3a92,0xe2fe,0x2210,0x2210,0x2692,0x2492,0x2c92,0x60fe,
+ 0x0100,0x0100,0x7ffe,0x4422,0x583f,0xe000,0x3ffe,0x2002,
+@@ -3038,7 +3038,7 @@
+ 0x2222,0x2326,0x2124,0x23fe,0xf850,0x2050,0x27ff,0x2088,
+ 0x3904,0xe3fe,0x260b,0x2008,0x21f8,0x2102,0x2106,0x60fc
+ };
+-unsigned short font38[]={
++const unsigned short font38[]={
+ 0x1020,0x1070,0x10d8,0xf98c,0x1707,0x11fc,0x3020,0x3bfe,
+ 0x3622,0x5222,0x5222,0x93fe,0x1050,0x10d8,0x118c,0x1707,
+ 0x1100,0x1100,0x11fe,0xff40,0x1240,0x17ff,0x3088,0x3890,
+@@ -3228,7 +3228,7 @@
+ 0x0100,0x0300,0x0200,0x7ffe,0x4002,0x4002,0x47e2,0x4422,
+ 0x4422,0x4422,0x4422,0x47e2,0x4002,0x4002,0x4002,0x400e
+ };
+-unsigned short font39[]={
++const unsigned short font39[]={
+ 0x000c,0x00f8,0x3f80,0x2000,0x2000,0x3fff,0x2000,0x2000,
+ 0x27fc,0x2404,0x2404,0x2404,0x6404,0x4404,0xc404,0x07fc,
+ 0x0200,0x02fc,0xf204,0x9204,0x95ff,0x9400,0x9c80,0x94fe,
+@@ -3418,7 +3418,7 @@
+ 0x0000,0x63e0,0x3020,0x1020,0x0020,0x0020,0x0070,0xf050,
+ 0x10d8,0x1088,0x118c,0x1306,0x1603,0x3000,0x6800,0xc7ff
+ };
+-unsigned short font3a[]={
++const unsigned short font3a[]={
+ 0x0840,0x0840,0x0840,0x4843,0x4846,0x485c,0x4f70,0x4840,
+ 0x4840,0x4840,0x4840,0x4840,0x4840,0x4f41,0x7863,0xc03e,
+ 0x0000,0x43ff,0x4020,0x41fe,0x4d02,0x7902,0x41fe,0x4102,
+@@ -3608,7 +3608,7 @@
+ 0x0002,0x7f92,0x4092,0x4092,0x7f92,0x4412,0x4412,0x5f92,
+ 0x5492,0x5492,0x5492,0x5482,0xd482,0x9582,0x8402,0x040e
+ };
+-unsigned short font3b[]={
++const unsigned short font3b[]={
+ 0x0100,0x0100,0x7ffe,0x4802,0x4f7a,0x1188,0x6a50,0x2420,
+ 0x1818,0xe7e7,0x0000,0x3ffc,0x0100,0x1918,0x710e,0x0700,
+ 0x2111,0x2333,0x2222,0x2666,0xfb33,0x2111,0x2040,0x207e,
+@@ -3798,7 +3798,7 @@
+ 0x0020,0x0020,0xf9fe,0x8820,0x8820,0x8820,0xfbff,0x8804,
+ 0x8804,0x8bff,0x8804,0xf984,0x00c4,0x0044,0x0004,0x001c
+ };
+-unsigned short font3c[]={
++const unsigned short font3c[]={
+ 0x0100,0x0100,0x6100,0x31fe,0x1302,0x0246,0x0644,0x0040,
+ 0x1040,0x10e0,0x30a0,0x21b0,0x6110,0x4318,0xc60c,0x1c07,
+ 0x0104,0x618c,0x3088,0x17ff,0x0104,0xc104,0x6208,0x2208,
+@@ -3988,7 +3988,7 @@
+ 0x0000,0x3ffe,0x2002,0x2082,0x27f2,0x2082,0x2082,0x2ffa,
+ 0x2002,0x27f2,0x2412,0x2412,0x2412,0x67f2,0x4002,0xc00e
+ };
+-unsigned short font3d[]={
++const unsigned short font3d[]={
+ 0x0100,0x0100,0x7ffe,0x4002,0x4002,0x4ff2,0x0000,0x0000,
+ 0xffff,0x0100,0x1108,0x1108,0x310c,0x6106,0xc103,0x0700,
+ 0x0814,0x0816,0x0812,0xff90,0x007f,0x7f10,0x4110,0x4110,
+@@ -4178,7 +4178,7 @@
+ 0x1222,0x1124,0x37ff,0x2401,0x25fd,0x6104,0x61fc,0xa000,
+ 0x23fe,0x2202,0x23fe,0x2202,0x23fe,0x2202,0x23fe,0x2603
+ };
+-unsigned short font3e[]={
++const unsigned short font3e[]={
+ 0x0040,0x7a44,0x4948,0x4840,0x4bfe,0x7890,0x4890,0x4fff,
+ 0x490c,0x7b46,0x4e43,0x49fc,0x4844,0x48c4,0xc984,0x9b1c,
+ 0x0000,0x7ffe,0x4000,0x4038,0x47e0,0x4400,0x47fe,0x4420,
+@@ -4368,7 +4368,7 @@
+ 0x1040,0x3840,0x2c40,0x64ff,0x5090,0xfd10,0x44fe,0x7c92,
+ 0x4492,0x7c92,0x4092,0x4892,0x4892,0x4c96,0x7410,0xc010
+ };
+-unsigned short font3f[]={
++const unsigned short font3f[]={
+ 0x2010,0x2014,0x2016,0x2012,0xfbff,0x2010,0x2010,0x27d0,
+ 0x3918,0xe108,0x2108,0x2108,0x21cc,0x2705,0x2007,0x6002,
+ 0x1010,0x1010,0x11ff,0xfc10,0x107e,0x1142,0x3942,0x357e,
+@@ -4558,7 +4558,7 @@
+ 0x2000,0x21fe,0x2102,0xf902,0x09fe,0x1910,0x1110,0x35ff,
+ 0x2910,0x7110,0xa97e,0x2942,0x2342,0x2242,0x2642,0x207e
+ };
+-unsigned short font40[]={
++const unsigned short font40[]={
+ 0x0004,0x63e8,0x3451,0x128a,0x0104,0xc6fb,0x6000,0x21fc,
+ 0x0104,0x1104,0x11fc,0x3000,0x2104,0x618c,0x4088,0xc7ff,
+ 0x2000,0x27df,0x2249,0x2145,0xf841,0x21c7,0x2659,0x2041,
+@@ -4748,7 +4748,7 @@
+ 0x1010,0x3020,0x60fe,0xc482,0x6cfe,0x1882,0x3082,0x64fe,
+ 0xfc11,0x15d3,0x105a,0x545c,0x54d4,0xd496,0x9193,0x1030
+ };
+-unsigned short font41[]={
++const unsigned short font41[]={
+ 0x1088,0x308a,0x23eb,0xc889,0x5888,0x37ff,0x2148,0x494a,
+ 0xfd5a,0x136a,0x114e,0x5944,0x554c,0xd1ed,0x9717,0x1032,
+ 0x0820,0x0440,0x7ffe,0x0100,0x3ffc,0x0100,0xffff,0x0080,
diff --git a/textproc/kbanner/patches/patch-ad b/textproc/kbanner/patches/patch-ad
new file mode 100644
index 00000000000..3e8f061a22e
--- /dev/null
+++ b/textproc/kbanner/patches/patch-ad
@@ -0,0 +1,235 @@
+$NetBSD: patch-ad,v 1.1.1.1 2002/05/31 13:00:29 seb Exp $
+
+--- font2.c.orig Fri Oct 15 14:18:52 1993
++++ font2.c Thu May 18 00:27:02 2000
+@@ -1,4 +1,4 @@
+-unsigned short font42[]={
++const unsigned short font42[]={
+ 0x7088,0x57ff,0x508a,0x5089,0x7004,0x57ff,0x5404,0x55f4,
+ 0x7545,0x55f7,0x5516,0x55f4,0x554c,0x55fd,0xd817,0xb062,
+ 0x0420,0x0420,0xffff,0x0424,0x0012,0x3fff,0x2010,0x2fd2,
+@@ -188,7 +188,7 @@
+ 0x0000,0x1ff8,0x1008,0x1008,0x1008,0x1008,0x1008,0x1008,
+ 0x1008,0x1ff8,0x0000,0x0000,0x0810,0x1818,0x300c,0x6006
+ };
+-unsigned short font43[]={
++const unsigned short font43[]={
+ 0x0000,0x7e7e,0x4242,0x4242,0x4242,0x4242,0x4242,0x4242,
+ 0x4242,0x4242,0x4242,0x4242,0x7e4e,0x0040,0x0040,0x0040,
+ 0x0800,0x09fc,0x1904,0x1104,0x3104,0x2104,0x61fc,0xa104,
+@@ -378,7 +378,7 @@
+ 0x0100,0x7ffe,0x4822,0xff3f,0x4220,0x243e,0xff02,0x003e,
+ 0x7e20,0x423e,0x7e20,0x423e,0x7e20,0x423e,0x4221,0x461f
+ };
+-unsigned short font44[]={
++const unsigned short font44[]={
+ 0x2020,0x2020,0x2020,0xfc20,0xa43f,0xa420,0xa420,0xa420,
+ 0xa420,0xa5fe,0xad02,0x2102,0x2102,0x2102,0x2102,0x21fe,
+ 0x2000,0x20fe,0x2080,0xfcfc,0xa480,0xa4fc,0xa480,0xa480,
+@@ -568,7 +568,7 @@
+ 0x0006,0x403c,0x67e0,0x2420,0x07ff,0x0420,0x07ff,0xe420,
+ 0x25fe,0x2522,0x2522,0x2522,0x2926,0x6020,0x5000,0xcfff
+ };
+-unsigned short font45[]={
++const unsigned short font45[]={
+ 0x0180,0x073f,0x7c21,0x4423,0x4422,0x4426,0x7fa4,0x4422,
+ 0x4421,0x4421,0x4621,0x7221,0xc2a7,0x03a0,0xf920,0x0020,
+ 0x2100,0x121f,0xffd1,0x1213,0x7f92,0x5296,0x6394,0x4092,
+@@ -758,7 +758,7 @@
+ 0x0002,0xffa2,0x2022,0x2122,0x6122,0x4fa2,0xf8a2,0x0822,
+ 0x0822,0x7f22,0x0822,0x0802,0x0802,0x0f82,0x3802,0xe00e
+ };
+-unsigned short font46[]={
++const unsigned short font46[]={
+ 0x0420,0xffff,0x0420,0x1ff8,0x0100,0xffff,0x0100,0x3ffc,
+ 0x2104,0x3ffc,0x2104,0x3ffc,0x0100,0x3ffc,0x0100,0xffff,
+ 0x0420,0xffff,0x0420,0x0000,0x63fc,0x3204,0x03fc,0xc204,
+@@ -948,7 +948,7 @@
+ 0x0000,0x1f00,0x0100,0x0100,0x0100,0x0100,0x0100,0x0380,
+ 0x0280,0x02c0,0x0640,0x0460,0x0c30,0x1818,0x300c,0xe007
+ };
+-unsigned short font47[]={
++const unsigned short font47[]={
+ 0x1000,0x1000,0x1000,0x107e,0xfe42,0x2242,0x2242,0x2242,
+ 0x6642,0x4442,0x4442,0xfc42,0x0e42,0x1b7e,0x3100,0xe000,
+ 0x0000,0x3ffe,0x2002,0x2002,0x3ffe,0x2000,0x2040,0x2042,
+@@ -1138,7 +1138,7 @@
+ 0x0100,0x0100,0x7ffe,0x0100,0x3ffc,0x0100,0xffff,0x0200,
+ 0x07f0,0x0c30,0x1860,0x76c0,0x0380,0x06e0,0x1c38,0xf00f
+ };
+-unsigned short font48[]={
++const unsigned short font48[]={
+ 0x0000,0xffff,0x0200,0x0200,0x4382,0x4892,0x4cb2,0x44a2,
+ 0x4082,0x46e2,0x4cb2,0x589a,0x4382,0x4002,0x7ffe,0x0000,
+ 0x1040,0x1040,0x3eff,0x6890,0xc508,0x1000,0x107e,0xfe42,
+@@ -1328,7 +1328,7 @@
+ 0x0810,0x0420,0x7ffe,0x0100,0x0100,0x3ffc,0x0100,0x0100,
+ 0x7ffe,0x0000,0x0100,0xffff,0x0240,0x0660,0x1c38,0xf00f
+ };
+-unsigned short font49[]={
++const unsigned short font49[]={
+ 0x0200,0x1ff8,0x1008,0x1ff8,0x1008,0x1ff8,0x1008,0x7ffe,
+ 0x4102,0x7ffe,0x4102,0x7ffe,0x0810,0xffff,0x1010,0x6010,
+ 0x1080,0x1080,0x10f8,0xfd88,0x1318,0x10b0,0x3860,0x34f0,
+@@ -1518,7 +1518,7 @@
+ 0x0000,0x7cfe,0x4482,0x4482,0x4486,0x7c80,0x4480,0x44fe,
+ 0x44a2,0x7cb6,0x4494,0x449c,0x4488,0x449c,0xc496,0x8cb3
+ };
+-unsigned short font4a[]={
++const unsigned short font4a[]={
+ 0x1000,0x11ff,0x1000,0xfcfe,0x0482,0x0c82,0x08fe,0x1800,
+ 0x3000,0x7dff,0xd711,0x1111,0x11ff,0x1111,0x1111,0x11ff,
+ 0x0080,0x7880,0x49ff,0x4b00,0x48fc,0x7884,0x48fc,0x4884,
+@@ -1708,7 +1708,7 @@
+ 0x0000,0x3e3e,0x2222,0x2222,0x2222,0x3e3e,0x2222,0x2222,
+ 0x2222,0x3e3e,0x2222,0x2222,0x2222,0x6262,0x4242,0xcece
+ };
+-unsigned short font4b[]={
++const unsigned short font4b[]={
+ 0x0020,0x6020,0x3020,0x13fe,0x0020,0xc020,0x6020,0x27ff,
+ 0x0040,0x1040,0x10c4,0x3086,0x2082,0x619f,0x41f1,0xc701,
+ 0x0100,0x6100,0x31fe,0x1302,0x0202,0xc3f2,0x6612,0x2012,
+@@ -1898,7 +1898,7 @@
+ 0x0088,0x6088,0x33fe,0x1088,0x0088,0xc7ff,0x6020,0x23fe,
+ 0x0222,0x12aa,0x12aa,0x32aa,0x22fa,0x6202,0x4202,0xc20e
+ };
+-unsigned short font4c[]={
++const unsigned short font4c[]={
+ 0x01f8,0x6108,0x31f8,0x1108,0x01f8,0xc000,0x67fe,0x2492,
+ 0x07fe,0x1000,0x17fe,0x3104,0x2098,0x6070,0x41dc,0xcf07,
+ 0x0420,0xffff,0x0420,0x1ff8,0x1008,0x1ff8,0x1008,0x7ffe,
+@@ -2088,7 +2088,7 @@
+ 0x0080,0x3fff,0x20c0,0xa330,0x7def,0x2000,0x2f92,0x2892,
+ 0x6f92,0xa892,0x2f92,0x2886,0x6000,0x4942,0xd92b,0x11f9
+ };
+-unsigned short font4d[]={
++const unsigned short font4d[]={
+ 0x0020,0x7870,0x00d8,0xfd8c,0x0377,0x7800,0x03c2,0x0252,
+ 0x7a52,0x03d2,0x0252,0x7a52,0x4bc2,0x4a42,0x4a42,0x7ace,
+ 0x2020,0x2070,0xf8d8,0x218c,0xfb77,0xa800,0xabc2,0xfa52,
+@@ -2278,7 +2278,7 @@
+ 0x0020,0x0020,0xfbff,0x2000,0x214a,0x2132,0xf94a,0x2102,
+ 0x21fe,0x2020,0x23ff,0x3a41,0xe249,0x02f5,0x0201,0x0203
+ };
+-unsigned short font4e[]={
++const unsigned short font4e[]={
+ 0x0040,0x0040,0x3fff,0xa000,0x6182,0x2f12,0x2212,0x3fd2,
+ 0x2212,0x6212,0xa712,0x2692,0x6a82,0x5202,0xc202,0x020e,
+ 0x0100,0xffff,0x0000,0x1ff8,0x1108,0x1ff8,0x1108,0x1ff8,
+@@ -2468,7 +2468,7 @@
+ 0x0084,0xfd08,0x4a10,0x494a,0x7884,0x4908,0x4a52,0x4bde,
+ 0x7800,0x4a49,0x4a49,0x4a49,0x7bcf,0xc848,0x08c8,0x0b88
+ };
+-unsigned short font4f[]={
++const unsigned short font4f[]={
+ 0x0810,0xffff,0x0810,0x0020,0x67ff,0x3020,0x13fe,0x0222,
+ 0x03fe,0xf222,0x13fe,0x1020,0x17ff,0x3020,0x6820,0xc7ff,
+ 0x0020,0x6020,0x37ff,0x1020,0x03fe,0x0222,0x0222,0xf3fe,
+@@ -2658,7 +2658,7 @@
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
+ };
+-unsigned short font50[]={
++const unsigned short font50[]={
+ 0x004c,0x0046,0x0042,0x0040,0xffff,0x0040,0x0040,0x0040,
+ 0x0060,0x0020,0x0020,0xff30,0x0011,0x001b,0x000e,0x0004,
+ 0x0000,0xffff,0x0100,0x2100,0x21fe,0x2100,0x2100,0x3ffe,
+@@ -2848,7 +2848,7 @@
+ 0x1108,0x1108,0x17c8,0x310f,0x210a,0x6ffa,0x6112,0xa10a,
+ 0x2fea,0x220e,0x23c4,0x2244,0x224e,0x264a,0x244a,0x2ddb
+ };
+-unsigned short font51[]={
++const unsigned short font51[]={
+ 0x0100,0x0380,0x06c0,0x0c70,0x381c,0xe7e7,0x0000,0x3e7c,
+ 0x2244,0x2244,0x3e7c,0x0000,0x0810,0x1c38,0x366c,0xe0c7,
+ 0x1000,0x1fff,0x1090,0x37fe,0x2492,0x6492,0x67fe,0xa080,
+@@ -3038,7 +3038,7 @@
+ 0x1048,0x1248,0xfe7f,0x4a52,0x6a56,0x2a54,0xfe7f,0x1248,
+ 0x1248,0xfe7f,0x1248,0x1048,0x30c8,0x2088,0x6188,0xc308
+ };
+-unsigned short font52[]={
++const unsigned short font52[]={
+ 0x2004,0x27c4,0xfa5f,0x524a,0x524a,0x524a,0xfa5f,0x2244,
+ 0x2244,0xfa5f,0x2244,0x2244,0x2244,0x6644,0x4444,0xccc4,
+ 0x2010,0x2010,0x2010,0x7f10,0x41ff,0xc111,0x7911,0x4911,
+@@ -3228,7 +3228,7 @@
+ 0x0100,0x6100,0x33fe,0x1242,0x06e4,0x00b0,0x1998,0x730c,
+ 0xc607,0x0000,0x1ff8,0x1008,0x1008,0x1008,0x1008,0x1ff8
+ };
+-unsigned short font53[]={
++const unsigned short font53[]={
+ 0x0000,0x7e7e,0x4242,0x4242,0x4242,0x4242,0x4242,0x7e7e,
+ 0x4800,0x4824,0x4c24,0x4466,0x46c3,0x4300,0xc1c0,0x807f,
+ 0x0000,0x0fff,0xf090,0x9090,0x9090,0x97fe,0x9492,0x9492,
+@@ -3418,7 +3418,7 @@
+ 0x0000,0x7ffe,0x4002,0x4102,0x4ff2,0x4102,0x5ffa,0x4422,
+ 0x4242,0x4ff2,0x4102,0x5ffa,0x4102,0x4002,0x7ffe,0x0000
+ };
+-unsigned short font54[]={
++const unsigned short font54[]={
+ 0x0000,0x7ffe,0x4912,0x4522,0x4ff2,0x4242,0x5ffa,0x4422,
+ 0x4ff2,0x5a5a,0x42c2,0x4212,0x41f2,0x4002,0x7ffe,0x0000,
+ 0x0000,0x7ffe,0x4052,0x404a,0x5ffa,0x4042,0x4f4a,0x494a,
+@@ -3608,7 +3608,7 @@
+ 0x0100,0x0100,0xffff,0x0240,0x0c30,0x3ffc,0xe007,0x23f0,
+ 0x2210,0x23f0,0x2000,0x2f3c,0x2924,0x2f3c,0x2000,0x3ffe
+ };
+-unsigned short font55[]={
++const unsigned short font55[]={
+ 0x1000,0x10fe,0x1010,0x1010,0xfe10,0x2210,0x2210,0x23ff,
+ 0x6210,0x4610,0x4410,0xfc10,0x0e10,0x1b10,0x3110,0xe010,
+ 0x1040,0x1040,0x1040,0x10fe,0xfe82,0x2382,0x2202,0x2262,
+@@ -3798,7 +3798,7 @@
+ 0x0000,0x3ffe,0x2002,0x2002,0x3ffe,0x2000,0x2ffe,0x2802,
+ 0x2ffe,0x2802,0x2ffe,0x2802,0x6ffe,0x4208,0xc60c,0x1c07
+ };
+-unsigned short font56[]={
++const unsigned short font56[]={
+ 0x0000,0x3ffe,0x2002,0x2002,0x3ffe,0x2210,0x2610,0x2dff,
+ 0x3810,0x22fc,0x2644,0x3c6c,0x6428,0x4438,0xc46c,0x05c7,
+ 0x0000,0x3ffe,0x2002,0x2002,0x3ffe,0x2208,0x2110,0x2ffe,
+@@ -3988,7 +3988,7 @@
+ 0x0080,0x0080,0x7fff,0x4000,0x5f3c,0x5124,0x5f24,0x5127,
+ 0x5140,0x5f00,0x507e,0x5222,0xd214,0x9308,0x9d14,0x3063
+ };
+-unsigned short font57[]={
++const unsigned short font57[]={
+ 0x0080,0x0080,0x7fff,0x4000,0x5f3e,0x4912,0x470e,0x4952,
+ 0x40a2,0x4318,0x5c47,0x4190,0xc662,0x818c,0x8070,0x0780,
+ 0x0080,0x0080,0x3fff,0x2110,0x2ffe,0x2110,0x3fff,0x2040,
+@@ -4178,7 +4178,7 @@
+ 0x1020,0x1020,0x17ff,0x5020,0x59fc,0x5524,0xd524,0x9124,
+ 0x11fc,0x10a8,0x10a8,0x11ac,0x1124,0x1326,0x1623,0x1020
+ };
+-unsigned short font58[]={
++const unsigned short font58[]={
+ 0x1020,0x1122,0x11a6,0x50a4,0x5820,0x55fe,0xd502,0x9102,
+ 0x11fe,0x1102,0x1102,0x11fe,0x1102,0x1102,0x1102,0x110e,
+ 0x2080,0x2184,0x2104,0x27fe,0xb092,0xa990,0xa31f,0xa680,
+@@ -4368,7 +4368,7 @@
+ 0x0000,0xffff,0x0100,0x1ff8,0x1008,0x1ff8,0x1008,0x1ff8,
+ 0x1008,0x1ff8,0x0204,0xffff,0x0120,0x00c1,0x0733,0x780e
+ };
+-unsigned short font59[]={
++const unsigned short font59[]={
+ 0xffff,0x0100,0x1ff8,0x1008,0x1ff8,0x1008,0x1ff8,0x1008,
+ 0xffff,0x8041,0x8221,0x3ffc,0x0210,0x0162,0x07c6,0x7c3c,
+ 0x2214,0x2216,0xff92,0x2210,0x3e1f,0x22f0,0x3e12,0x2212,
+@@ -4558,7 +4558,7 @@
+ 0x2024,0x2022,0x27ff,0x2420,0xfdf2,0x2416,0x25dc,0x2548,
+ 0x3ddd,0xe437,0x28e2,0x2000,0x22a6,0x2293,0x2685,0x6c7c
+ };
+-unsigned short font5a[]={
++const unsigned short font5a[]={
+ 0x2040,0x207e,0x2040,0x27ff,0xfc41,0x25f8,0x2442,0x243e,
+ 0x3c00,0xe7ff,0x2440,0x25a2,0x2454,0x25b8,0x2854,0x63b3,
+ 0x2020,0x2050,0x2088,0xf924,0x26fb,0x2154,0x2124,0x2154,
+@@ -4748,7 +4748,7 @@
+ 0x4920,0x2a20,0x083f,0x7f64,0x49c4,0x5d28,0x6b10,0x492c,
+ 0x4b43,0x0000,0x1ff8,0x1008,0x1ff8,0x1008,0x1008,0x1ff8
+ };
+-unsigned short font5b[]={
++const unsigned short font5b[]={
+ 0x0088,0x0088,0xf7ff,0x9088,0x93fe,0x9124,0x9124,0xf7ff,
+ 0x9124,0x9124,0x93fe,0x9020,0xf020,0x07ff,0x0020,0x0020,
+ 0x0040,0x0040,0xf7ff,0x9088,0x928a,0x9104,0x93fe,0xf505,
diff --git a/textproc/kbanner/patches/patch-ae b/textproc/kbanner/patches/patch-ae
new file mode 100644
index 00000000000..8d422d0651d
--- /dev/null
+++ b/textproc/kbanner/patches/patch-ae
@@ -0,0 +1,226 @@
+$NetBSD: patch-ae,v 1.1.1.1 2002/05/31 13:00:29 seb Exp $
+
+--- font3.c.orig Fri Oct 15 14:18:55 1993
++++ font3.c Thu May 18 00:27:03 2000
+@@ -1,4 +1,4 @@
+-unsigned short font5c[]={
++const unsigned short font5c[]={
+ 0x100e,0x11f8,0x1110,0xfd10,0x11ff,0x1908,0x3508,0x31c5,
+ 0x3303,0x51fe,0x5102,0x9102,0x11fe,0x1102,0x1102,0x11fe,
+ 0x1048,0x1044,0x107e,0xfde0,0x1036,0x1018,0x386d,0x3587,
+@@ -188,7 +188,7 @@
+ 0x2020,0x2020,0x27ff,0xf924,0x2124,0x32aa,0x6820,0x67ff,
+ 0xa000,0xa3fe,0x2202,0x22fa,0x228a,0x22fa,0x2202,0x23fe
+ };
+-unsigned short font5d[]={
++const unsigned short font5d[]={
+ 0x0010,0x3e10,0x22fe,0x2244,0x3e28,0x20ff,0x7e10,0x52fe,
+ 0xd210,0x1e10,0x0100,0xffff,0x0540,0x0d60,0x3938,0xe10f,
+ 0x0420,0xffff,0x0420,0x0010,0x3efe,0x2244,0x3e28,0x20fe,
+@@ -378,7 +378,7 @@
+ 0x0020,0x6020,0x3020,0x1020,0x003f,0xc020,0x6020,0x2020,
+ 0x0020,0x13fe,0x1202,0x3202,0x2202,0x6202,0x4202,0xc3fe
+ };
+-unsigned short font5e[]={
++const unsigned short font5e[]={
+ 0x0000,0x67fe,0x3442,0x1442,0x0442,0xc442,0x6442,0x27fe,
+ 0x0442,0x1442,0x1442,0x3442,0x2442,0x6442,0x47fe,0xc000,
+ 0x0006,0x603c,0x37e0,0x1040,0x0040,0xc040,0x67fe,0x2002,
+@@ -568,7 +568,7 @@
+ 0x0240,0x4240,0x66ff,0x2484,0x0dcc,0x8a78,0xda10,0x4a7c,
+ 0x0bc7,0x0a10,0x2bff,0x2a54,0x6a54,0x48d6,0x4993,0xc810
+ };
+-unsigned short font5f[]={
++const unsigned short font5f[]={
+ 0x0104,0x6088,0x33fe,0x1020,0x01fc,0xc020,0x67ff,0x2040,
+ 0x0030,0x13e2,0x1026,0x37b4,0x20a8,0x6124,0x4623,0xc0e0,
+ 0x0020,0x6020,0x37ff,0x1000,0x0154,0xc124,0x6154,0x2104,
+@@ -758,7 +758,7 @@
+ 0x1010,0x10fe,0x1012,0x15ff,0x5412,0x54fe,0xd010,0x91ff,
+ 0x10aa,0x1129,0x3800,0x28fe,0x2caa,0x64aa,0x40aa,0xc1ff
+ };
+-unsigned short font60[]={
++const unsigned short font60[]={
+ 0x0000,0xfe7f,0x1008,0x2211,0xd46a,0x2814,0xdc6e,0x2a15,
+ 0xc864,0x391c,0x0100,0x138c,0x32d8,0x2660,0x1c38,0xf00f,
+ 0x2000,0x23de,0x2042,0x2bde,0xa842,0xabde,0xa088,0xa110,
+@@ -948,7 +948,7 @@
+ 0x0041,0x0263,0xfb22,0x2126,0x2104,0x2000,0x2040,0xf840,
+ 0x27ff,0x2084,0x2184,0x210c,0x39e8,0xe03c,0x00e6,0x0383
+ };
+-unsigned short font61[]={
++const unsigned short font61[]={
+ 0x1006,0x101c,0xfef4,0x2884,0x2ca4,0x66a4,0xc3a4,0x3ca4,
+ 0x00a4,0xffa4,0x20a4,0x7ea4,0x02a6,0x02aa,0x06ba,0x1d6b,
+ 0x2034,0x27e4,0xfc3f,0x552a,0x552a,0x552a,0xfd3f,0x2524,
+@@ -1138,7 +1138,7 @@
+ 0x0080,0x0080,0x3fff,0xa540,0x6a8a,0x254a,0x201f,0x2fb4,
+ 0x6894,0xaf9f,0x2014,0x6f94,0x4a9f,0xcf94,0x0854,0x07df
+ };
+-unsigned short font62[]={
++const unsigned short font62[]={
+ 0x0080,0x3fff,0x2200,0xafbf,0x6208,0x2fbe,0x28a2,0x2fbe,
+ 0x68a2,0xafbe,0x28a2,0x6fa2,0x403e,0xdfd4,0x0936,0x10a3,
+ 0x0000,0x0000,0x0000,0x0000,0x7fc8,0x0250,0x4662,0x2c34,
+@@ -1328,7 +1328,7 @@
+ 0x0800,0xffbc,0x0824,0x7f47,0x0000,0x7f7c,0x4924,0x7f18,
+ 0x40e7,0x8000,0x7ffe,0x0400,0x0ffc,0x3804,0xe804,0x0ffc
+ };
+-unsigned short font63[]={
++const unsigned short font63[]={
+ 0x0020,0xfbfe,0x2020,0x21fc,0x2020,0x27ff,0x7800,0x49fc,
+ 0xc904,0x49fc,0x4904,0x49fc,0x4904,0x79fc,0x0088,0x0306,
+ 0x0020,0xfc20,0x23ff,0x2020,0x21fe,0x2122,0x79fe,0x4922,
+@@ -1518,7 +1518,7 @@
+ 0x1040,0x1040,0x3eff,0x6990,0xc408,0x3ffe,0x2000,0x27fc,
+ 0x2040,0x2040,0x23f8,0x2040,0x2040,0x2ffe,0x2000,0x3ffe
+ };
+-unsigned short font64[]={
++const unsigned short font64[]={
+ 0x1040,0x1040,0x3eff,0x6990,0xc408,0x3ffe,0x2000,0x27fc,
+ 0x2040,0x23f8,0x2040,0x2050,0x2048,0x2ffe,0x2000,0x3ffe,
+ 0x1040,0x1040,0x3eff,0x69a0,0xc410,0x0000,0x7ffe,0x0420,
+@@ -1708,7 +1708,7 @@
+ 0x1000,0x30fe,0x6010,0xc410,0x6c10,0x1810,0x3010,0x65ff,
+ 0xfe10,0x1210,0x1010,0x5410,0x5610,0xd210,0x9010,0x1070
+ };
+-unsigned short font65[]={
++const unsigned short font65[]={
+ 0x1004,0x3004,0x6004,0xc404,0x6cff,0x1804,0x3004,0x6444,
+ 0xfe64,0x1224,0x1004,0x5404,0x5604,0xd204,0x9004,0x101c,
+ 0x1000,0x30fe,0x6000,0xc400,0x6c00,0x1800,0x31ff,0x6420,
+@@ -1898,7 +1898,7 @@
+ 0x2020,0x2020,0x7c20,0xd1fc,0x1024,0x1024,0xfe24,0x1024,
+ 0x11ff,0x5450,0x5450,0x5458,0x54c8,0x7c8c,0x0186,0x0303
+ };
+-unsigned short font66[]={
++const unsigned short font66[]={
+ 0x4020,0x403e,0xf820,0xa3ff,0x2221,0x223c,0xfae1,0x223f,
+ 0x2204,0xaa78,0xaa92,0xaa54,0xabff,0xfa10,0x0410,0x0070,
+ 0x0000,0x7e7e,0x4242,0x7e7e,0x4242,0x7e7e,0x4242,0x7e7e,
+@@ -2088,7 +2088,7 @@
+ 0x0020,0x7820,0x4fff,0x4890,0x4890,0x799e,0x4912,0x4b32,
+ 0x4d2a,0x7966,0x4914,0x491c,0x4908,0x491c,0xc936,0x9963
+ };
+-unsigned short font67[]={
++const unsigned short font67[]={
+ 0x0020,0x7c20,0x45ff,0x4c40,0x48fe,0x5b10,0x50ff,0x4800,
+ 0x44fe,0x4482,0x44fe,0x4482,0x5cfe,0x4082,0x4082,0x408e,
+ 0x0050,0x7850,0x4850,0x49fc,0x4954,0x7954,0x4954,0x49fc,
+@@ -2278,7 +2278,7 @@
+ 0x0810,0x0810,0xffff,0x0810,0x0810,0x0100,0x0100,0x7ffe,
+ 0x0000,0x0810,0x0c30,0x0420,0x0460,0x0040,0xffff,0x0000
+ };
+-unsigned short font68[]={
++const unsigned short font68[]={
+ 0x0810,0x0810,0xffff,0x0810,0x0000,0x7ffe,0x4002,0x4102,
+ 0x4ff2,0x4102,0x4382,0x42c2,0x4662,0x4c32,0x4002,0x7ffe,
+ 0x0810,0x0810,0xffff,0x0810,0x0000,0x7ffe,0x4002,0x4002,
+@@ -2468,7 +2468,7 @@
+ 0x0420,0xffff,0x0420,0x0000,0x7ffe,0x0440,0x3ffc,0x2444,
+ 0x3ffc,0x1008,0x1ff8,0x1008,0x1ff8,0x0100,0xffff,0x0100
+ };
+-unsigned short font69[]={
++const unsigned short font69[]={
+ 0x0420,0xffff,0x0420,0x1ff8,0x0008,0x1ff8,0x0008,0x1ff8,
+ 0x0000,0x7cfe,0x1082,0xfefe,0x0008,0xffff,0x0808,0x0438,
+ 0x0420,0xffff,0x0420,0x0100,0x1288,0x1224,0x23e0,0x0810,
+@@ -2658,7 +2658,7 @@
+ 0x2000,0x21ff,0x2000,0xfcfe,0xa482,0xa482,0xa4fe,0xa480,
+ 0xfcff,0x20a9,0x21a9,0x29ff,0x2aa9,0x3ca9,0xe4a9,0x00ab
+ };
+-unsigned short font6a[]={
++const unsigned short font6a[]={
+ 0x2020,0x2070,0x20d8,0xf98c,0xaf77,0xa800,0xabc2,0xaa52,
+ 0xaa52,0xfbd2,0x2252,0x2a52,0x2bc2,0x7a42,0xca42,0x02ce,
+ 0x2108,0x2108,0x2108,0xffdf,0xaa30,0xaa00,0xaa1f,0xabc2,
+@@ -2848,7 +2848,7 @@
+ 0x0008,0x3f7f,0x2122,0x3f14,0x207f,0x7f08,0x517f,0xd108,
+ 0x1f08,0x0080,0xffff,0x0244,0x0c68,0xf830,0x0f9c,0x3807
+ };
+-unsigned short font6b[]={
++const unsigned short font6b[]={
+ 0x2000,0x21fe,0x2020,0xfbff,0x0a21,0x1bad,0x3221,0x21ac,
+ 0x6800,0xb3ff,0x2820,0x23ff,0x2249,0x2249,0x2249,0x224b,
+ 0x2004,0x23e4,0x2284,0xfa8f,0x0be8,0x1a20,0x33e0,0x228f,
+@@ -3038,7 +3038,7 @@
+ 0x0078,0x7890,0x03ff,0xfd24,0x01c7,0x793c,0x0100,0x01ff,
+ 0x7900,0x013c,0x0100,0x793c,0x4900,0x497e,0x4a42,0x787e
+ };
+-unsigned short font6c[]={
++const unsigned short font6c[]={
+ 0x787c,0x0044,0xfc44,0x007c,0x0000,0x79ef,0x0129,0x0129,
+ 0x79ef,0x0010,0x01ff,0x7854,0x4854,0x48d6,0x4993,0x7810,
+ 0x3e10,0x22fe,0x3e44,0x20ff,0x7e10,0x52fe,0xd210,0x1e10,
+@@ -3228,7 +3228,7 @@
+ 0x0006,0x7c1c,0x44f1,0x451b,0x458a,0x44a0,0x7c48,0x1090,
+ 0x5064,0x5c3e,0x51e3,0x5010,0x51ff,0x5c28,0x7044,0xc183
+ };
+-unsigned short font6d[]={
++const unsigned short font6d[]={
+ 0x0100,0x7ffe,0x4422,0x5ffa,0x0420,0x1ff8,0x0420,0xffff,
+ 0x0810,0x3ffc,0xe817,0x0ff0,0x0480,0x0efc,0x3b80,0xe0ff,
+ 0x0084,0x7c48,0x45fe,0x4420,0x4420,0x44fc,0x7c20,0x1020,
+@@ -3418,7 +3418,7 @@
+ 0x0104,0x618c,0x3088,0x13fe,0x0088,0x0088,0x0088,0xf7ff,
+ 0x1088,0x1088,0x1088,0x1188,0x1108,0x3308,0x6800,0xc7ff
+ };
+-unsigned short font6e[]={
++const unsigned short font6e[]={
+ 0x0000,0x63fc,0x3204,0x13fc,0x0204,0x03fc,0x0080,0xf1fe,
+ 0x1302,0x1622,0x13c2,0x1212,0x11f6,0x300c,0x6800,0xc7ff,
+ 0x0000,0x479e,0x6482,0x2482,0x0482,0x079e,0x0400,0xe43e,
+@@ -3608,7 +3608,7 @@
+ 0x1000,0x39ff,0x2d01,0x6511,0x4111,0xfd7d,0x1111,0x1111,
+ 0xfd7d,0x1145,0x9545,0xd545,0x517d,0x1d01,0x71ff,0xc000
+ };
+-unsigned short font6f[]={
++const unsigned short font6f[]={
+ 0x1092,0x3892,0x2d24,0x6524,0x4092,0xfc92,0x1000,0x10fe,
+ 0xfc92,0x1092,0x9492,0xd4fe,0x5092,0x1c92,0x7092,0xc0fe,
+ 0x1048,0x3844,0x2c7e,0x65e0,0x4036,0xfc18,0x106d,0x1187,
+@@ -3798,7 +3798,7 @@
+ 0x0024,0x7c64,0x45c4,0x4c44,0x49ff,0x5844,0x5044,0x48c4,
+ 0x4584,0x4420,0x4420,0x5dfe,0x4020,0x4020,0x43ff,0x4000
+ };
+-unsigned short font70[]={
++const unsigned short font70[]={
+ 0x0010,0x7c10,0x45ff,0x4c10,0x4996,0x5892,0x5092,0x4955,
+ 0x4555,0x4438,0x4428,0x4428,0x5c6c,0x4044,0x40c6,0x4183,
+ 0x0010,0x7c90,0x449e,0x4c90,0x4890,0x5bff,0x5010,0x4854,
+@@ -3988,7 +3988,7 @@
+ 0x087f,0x2f08,0x283e,0xffa2,0x493e,0x88a2,0x3a3e,0x0422,
+ 0x1ffe,0xf10b,0x1ff8,0x1108,0x1ff8,0x0420,0xffff,0x0020
+ };
+-unsigned short font71[]={
++const unsigned short font71[]={
+ 0x0800,0x0f7f,0x0808,0x7fbe,0x48a2,0x7e22,0x48be,0x5fa2,
+ 0x5522,0x5f3e,0x5522,0xffa2,0xaabe,0x2a94,0x7ff6,0x0023,
+ 0x2200,0xff7f,0x2208,0x773e,0x5522,0x7722,0x003e,0x2422,
+@@ -4178,7 +4178,7 @@
+ 0x3f04,0x2018,0x3e62,0x200c,0x3e31,0x2002,0xff8c,0x2230,
+ 0x7d00,0x0000,0x0440,0x3ffc,0x2444,0x3ffc,0x2444,0x3ffc
+ };
+-unsigned short font72[]={
++const unsigned short font72[]={
+ 0x3f04,0x2018,0x3e62,0x200c,0xffb1,0x2206,0x7d38,0x0000,
+ 0x0100,0xffff,0x0100,0x3ffc,0x0000,0x1ff8,0x1008,0x1ff8,
+ 0x3f04,0x2018,0x3e62,0x200c,0x3e31,0x2002,0xff8c,0x2230,
+@@ -4368,7 +4368,7 @@
+ 0x0010,0xff20,0x24fe,0x2482,0x3cfe,0x2482,0x24fe,0x2480,
+ 0x3cff,0x2480,0x24ff,0x2401,0x3d55,0xe555,0x0603,0x0406
+ };
+-unsigned short font73[]={
++const unsigned short font73[]={
+ 0x1408,0x3610,0xe57e,0x2442,0x247e,0xffc2,0x247e,0x2540,
+ 0x257f,0x3640,0x667f,0xa401,0x2c55,0x3555,0x2703,0x6206,
+ 0x7c58,0x1044,0xffff,0x1022,0x7e34,0x1099,0x712f,0x0ff0,
+@@ -4558,7 +4558,7 @@
+ 0x0100,0x07c0,0x1c78,0xf7cf,0x0000,0x7bde,0x4a52,0x7bde,
+ 0x0000,0x3ffc,0x2444,0x2444,0x3ffc,0x2444,0x2444,0x244c
+ };
+-unsigned short font74[]={
++const unsigned short font74[]={
+ 0x0100,0x1ff8,0x0100,0x7ffe,0x0000,0x0810,0x7f7e,0x0810,
+ 0x1f10,0xf0ff,0x0000,0x7ffe,0x0820,0x1821,0x3033,0xe01e,
+ 0x1086,0x10fc,0x1081,0xfc7f,0x1000,0x117e,0x3942,0x357e,
diff --git a/textproc/kbanner/patches/patch-af b/textproc/kbanner/patches/patch-af
new file mode 100644
index 00000000000..ffeb8a0193b
--- /dev/null
+++ b/textproc/kbanner/patches/patch-af
@@ -0,0 +1,21 @@
+$NetBSD: patch-af,v 1.1.1.1 2002/05/31 13:00:29 seb Exp $
+
+JIS X0208-1990 characters.
+
+--- font3.c.orig Thu May 18 00:27:03 2000
++++ font3.c Thu May 18 01:07:05 2000
+@@ -4567,10 +4567,10 @@
+ 0x1320,0x1020,0x17ff,0x1020,0x1222,0x33fe,0x6800,0xc7ff,
+ 0x0020,0x007c,0xf8c4,0x23ac,0x2058,0x2030,0xf8e0,0x2380,
+ 0x20fe,0x2120,0x2020,0x3bff,0xe020,0x0122,0x0122,0x01fe,
+- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
++ 0x0020,0x67ff,0x3000,0x13fe,0x0202,0x02fa,0x028a,0x02fa,
++ 0x1202,0x13fe,0x3018,0x21e0,0x6020,0x47ff,0xc0a8,0x0326,
++ 0x0000,0x7f7e,0x4442,0x4442,0x5f42,0x5142,0x517e,0x5140,
++ 0x5f40,0x4441,0x4463,0x7f3e,0x0000,0x2444,0x6666,0xc223,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,