1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/japanese/tcsh/files/patch-af
Seiichirou Hiraoka 419f47e29a Update base tcsh version from 6.08.00 to 6.08.02.
Some bugs about dealing with multibyte characters are fixed in tcsh 6.08.02
1998-12-04 16:17:53 +00:00

49 lines
1.0 KiB
Plaintext

--- config_f.h.orig Mon Oct 26 00:09:45 1998
+++ config_f.h Tue Dec 1 20:20:44 1998
@@ -65,7 +65,11 @@
* if you don't have <nl_types.h>, you don't want
* to define this.
*/
-#undef NLS_CATALOGS
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
+# define NLS_CATALOGS
+#else
+# undef NLS_CATALOGS
+#endif
/*
* LOGINFIRST Source ~/.login before ~/.cshrc
@@ -117,21 +121,29 @@
* be used with SHORT_STRINGS
*
*/
-#undef KANJI
+#define KANJI
/*
* DSPMBYTE add variable "dspmbyte" and display multi-byte string at
* only output, when "dspmbyte" is set. Should be used with
* KANJI
*/
-#undef DSPMBYTE
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
+# define DSPMBYTE
+#else
+# undef DSPMBYTE
+#endif
/*
* MBYTEDEBUG when "dspmbyte" is changed, set multi-byte checktable to
* variable "mbytemap".
* (use for multi-byte table check)
*/
-#undef MBYTEDEBUG
+#if defined(__FreeBSD__)
+# define MBYTEDEBUG
+#else
+# undef MBYTEDEBUG
+#endif
/*
* NEWGRP Provide a newgrp builtin.