aboutsummaryrefslogtreecommitdiffstats
path: root/community/tcsh/001-sysmalloc.patch
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-06-06 02:38:22 -0700
committerNatanael Copa <ncopa@alpinelinux.org>2018-06-07 07:43:13 +0000
commit184585c046cdd56512f1a76e426dd799b368f8cf (patch)
tree1772dc71e3667f4fd4484d89f3ebb7fe60cc5a25 /community/tcsh/001-sysmalloc.patch
parent938d6f0c37a674f9e60163bc4558ef9fbd7efb7d (diff)
downloadaports-184585c046cdd56512f1a76e426dd799b368f8cf.tar.bz2
aports-184585c046cdd56512f1a76e426dd799b368f8cf.tar.xz
community/tcsh: fix tests, promote to community
fixes #8660
Diffstat (limited to 'community/tcsh/001-sysmalloc.patch')
-rw-r--r--community/tcsh/001-sysmalloc.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/tcsh/001-sysmalloc.patch b/community/tcsh/001-sysmalloc.patch
new file mode 100644
index 0000000000..b22c018983
--- /dev/null
+++ b/community/tcsh/001-sysmalloc.patch
@@ -0,0 +1,15 @@
+--- a/config_f.h
++++ b/config_f.h
+@@ -139,11 +139,8 @@
+ * 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__) || defined (__CYGWIN__) || defined(__GLIBC__) || defined(__OpenBSD__) || defined(__APPLE__) || defined (__ANDROID__)
++
+ # define SYSMALLOC
+-#else
+-# undef SYSMALLOC
+-#endif
+
+ /*
+ * USE_ACCESS Use access(2) rather than stat(2) when POSIX is defined.