openbsd-ports/shells/tcsh/patches/patch-config_f_h

40 lines
1.1 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-config_f_h,v 1.1 2004/10/11 02:08:53 jolan Exp $
--- config_f.h.orig Sun Mar 21 10:48:14 2004
+++ config_f.h Sun Oct 10 21:06:52 2004
2002-07-23 21:12:31 -04:00
@@ -61,7 +61,11 @@
1999-08-21 13:31:45 -04:00
* if you don't have <nl_types.h>, you don't want
* to define this.
*/
+#ifdef __OpenBSD__
+#define NLS_CATALOGS
+#else
#undef NLS_CATALOGS
+#endif
/*
* LOGINFIRST Source ~/.login before ~/.cshrc
2002-07-23 21:12:31 -04:00
@@ -88,12 +92,12 @@
1999-08-21 13:31:45 -04:00
/*
* DOTLAST put "." last in the default path, for security reasons
*/
-#define DOTLAST
+#undef DOTLAST
/*
* NODOT Don't put "." in the default path, for security reasons
*/
-#undef NODOT
+#define NODOT
/*
* AUTOLOGOUT tries to determine if it should set autologout depending
2002-07-23 21:12:31 -04:00
@@ -139,7 +143,7 @@
1999-08-21 13:31:45 -04:00
* This can be much slower and no memory statistics will be
* provided.
*/
2000-08-01 23:25:22 -04:00
-#if defined(__MACHTEN__) || defined(PURIFY) || defined(MALLOC_TRACE) || defined(_OSD_POSIX) || defined(__MVS__)
+#if defined(__MACHTEN__) || defined(PURIFY) || defined(MALLOC_TRACE) || defined(_OSD_POSIX) || defined(__MVS__) || defined(__FreeBSD__) || defined(__OpenBSD__)
1999-08-21 13:31:45 -04:00
# define SYSMALLOC
#else
# undef SYSMALLOC