diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2005-02-27 14:47:24 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2005-02-27 14:47:24 +0000 |
commit | 16dc24a0a6c428dde85db836012896bd49ca76ec (patch) | |
tree | e40e24c94a21c5ac1c575c52950fe5886bd6510b /sysutils/mapchan/files | |
parent | 196e201f75f3ebe1f7a6b4585b5ede4a04c12102 (diff) | |
download | ports-16dc24a0a6c428dde85db836012896bd49ca76ec.tar.gz ports-16dc24a0a6c428dde85db836012896bd49ca76ec.zip |
Notes
Diffstat (limited to 'sysutils/mapchan/files')
-rw-r--r-- | sysutils/mapchan/files/patch-Makefile | 11 | ||||
-rw-r--r-- | sysutils/mapchan/files/patch-doc::mapchan.8 | 72 | ||||
-rw-r--r-- | sysutils/mapchan/files/patch-examples::default | 8 | ||||
-rw-r--r-- | sysutils/mapchan/files/patch-mapchan.c | 25 |
4 files changed, 116 insertions, 0 deletions
diff --git a/sysutils/mapchan/files/patch-Makefile b/sysutils/mapchan/files/patch-Makefile new file mode 100644 index 000000000000..2da209fcd9db --- /dev/null +++ b/sysutils/mapchan/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig Sat Dec 23 09:47:25 2000 ++++ Makefile Thu Aug 7 00:43:27 2003 +@@ -11,7 +11,7 @@ + # (2) If your system has not basename() function - uncomment next string + #DEFS+=-DNOBASENAME + +-BINDIR=/bin ++BINDIR=$(PREFIX)/bin + LDFLAGS=-lutil + #-------------------------------------------------------------- + CFLAGS += $(DEFS) diff --git a/sysutils/mapchan/files/patch-doc::mapchan.8 b/sysutils/mapchan/files/patch-doc::mapchan.8 new file mode 100644 index 000000000000..1dd7cca2b615 --- /dev/null +++ b/sysutils/mapchan/files/patch-doc::mapchan.8 @@ -0,0 +1,72 @@ +--- doc/mapchan.8.orig Sat Dec 23 09:47:26 2000 ++++ doc/mapchan.8 Sun Aug 31 12:41:32 2003 +@@ -1,13 +1,13 @@ + + +- mapchan(F) 06 January 1993 mapchan(F) ++ mapchan(8) 06 January 1993 mapchan(8) + + +- _N_a_m_e ++ _N_A_M_E + + mapchan - format of tty device mapping files + +- _D_e_s_c_r_i_p_t_i_o_n ++ _D_E_S_C_R_I_P_T_I_O_N + + mmaappcchhaann configures the mapping of information input and output. + +@@ -143,7 +143,7 @@ + character. This can be used to enter Space, Tab, or Hash + characters. + +- _D_i_a_g_n_o_s_t_i_c_s ++ _D_I_A_G_N_O_S_T_I_C_S + + mmaappcchhaann performs these error checks when processing the mapfile: + +@@ -170,7 +170,7 @@ + device display character set. _d_e_a_d and _c_o_m_p_o_s_e sequences are _i_n_p_u_t map- + ping and should be going to 8859. + +- _W_a_r_n_i_n_g ++ _W_A_R_N_I_N_G + + Use of mapping files that specify a different ``internal'' character set + per-channel, or a set other than the 8-bit ISO 8859 set supplied by +@@ -185,7 +185,7 @@ + Do not set IISSTTRRIIPP (see ssttttyy(C)) on channels that have mapping that + includes 8-bit characters. + +- _L_i_m_i_t_a_t_i_o_n_s ++ _L_I_M_I_T_A_T_I_O_N_S + + Some non-U.S. keyboards and display devices do not support characters + commonly used by UNIX command shells and the C programming language. Do +@@ -195,19 +195,16 @@ + represented using this utility. Refer to the device's hardware manual for + information on the capabilities of the peripheral device. + +- _F_i_l_e_s ++ _F_I_L_E_S + +- /_e_t_c/_d_e_f_a_u_l_t/_m_a_p_c_h_a_n +- /_u_s_r/_l_i_b/_m_a_p_c_h_a_n/* ++ /_u_s_r/_l_o_c_a_l/_e_t_c/_m_a_p_c_h_a_n/_d_e_f_a_u_l_t ++ /_u_s_r/_l_o_c_a_l/_e_t_c/_m_a_p_c_h_a_n/*._m_a_p + +- _S_e_e _a_l_s_o ++ _S_E_E _A_L_S_O + +- aasscciiii(M), kkeeyybbooaarrdd(HW), llpp(C), llppaaddmmiinn(ADM), mmaappcchhaann(M), mmaappkkeeyy(M), +- ppaarraalllleell(HW), ssccrreeeenn(HW), sseerriiaall(HW), sseettkkeeyy(C), ttrrcchhaann(M), ttttyy(M) ++ aasscciiii(7), kkeeyybbooaarrdd(4), llpp(1), ssccrreeeenn(4), ttttyy(1) + +- _S_t_a_n_d_a_r_d_s _c_o_n_f_o_r_m_a_n_c_e ++ _S_T_A_N_D_A_R_D_S + + mmaappcchhaann is not part of any currently supported standard; it is an exten- + sion of AT&T System V provided by The Santa Cruz Operation, Inc. +- +- diff --git a/sysutils/mapchan/files/patch-examples::default b/sysutils/mapchan/files/patch-examples::default new file mode 100644 index 000000000000..7dfe8d589a15 --- /dev/null +++ b/sysutils/mapchan/files/patch-examples::default @@ -0,0 +1,8 @@ +--- examples/default.sample.orig Sat Dec 23 09:47:26 2000 ++++ examples/default.sample Sun Aug 31 13:51:08 2003 +@@ -1,4 +1,4 @@ +-tty5 altkoi.map ++ttyv5 altkoi.map + ttyS1 koiualt.map + ttyS16 koiumain.map + ttyS17 sm7238.map diff --git a/sysutils/mapchan/files/patch-mapchan.c b/sysutils/mapchan/files/patch-mapchan.c new file mode 100644 index 000000000000..9e6278c0bca5 --- /dev/null +++ b/sysutils/mapchan/files/patch-mapchan.c @@ -0,0 +1,25 @@ +--- mapchan.c.orig Sat Oct 25 09:21:42 2003 ++++ mapchan.c Sun Feb 27 15:27:01 2005 +@@ -19,7 +19,7 @@ + #endif + + #ifndef CPATH +- #define CPATH "/etc/mapchan" ++ #define CPATH "/usr/local/etc/mapchan" + #endif + + #define BUFSIZE 4096 +@@ -51,10 +51,10 @@ + + char usage[] = { "\nUsage:\n\nmapchan [-q] [-s shell] [-f file]\ + [-h]\n\nwhere:\n\ +-\tshell - shell, if not /bin/sh ++\tshell - shell, if not /bin/sh\n\ + \tfile - input file\n\ +-\t-q - force and quiet +-\t-h - print this screen and exit.\n" }; ++\t-q - force and quiet\n\ ++\t-h - print this screen and exit.\n" }; + + int pty_fd; /* дескриптор master */ + int tty_fd; /* дескриптор slave */ |