mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
419f47e29a
Some bugs about dealing with multibyte characters are fixed in tcsh 6.08.02
49 lines
1.0 KiB
Plaintext
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.
|