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

40 lines
1.1 KiB
Plaintext

$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
@@ -61,7 +61,11 @@
* 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
@@ -88,12 +92,12 @@
/*
* 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
@@ -139,7 +143,7 @@
* This can be much slower and no memory statistics will be
* provided.
*/
-#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__)
# define SYSMALLOC
#else
# undef SYSMALLOC