diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-11-09 21:56:23 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-11-09 21:56:23 +0000 |
commit | 3d85a5370a0b0da6b457fee8e8e024bc82dda8ff (patch) | |
tree | d65fae7b13302f57d6a59b281374434011e78e3b /x11-wm/afterstep-stable | |
parent | 025d09c0c30f5b6083ac578dd35bc1fcc66cea71 (diff) | |
download | ports-3d85a5370a0b0da6b457fee8e8e024bc82dda8ff.tar.gz ports-3d85a5370a0b0da6b457fee8e8e024bc82dda8ff.zip |
. Don't use malloc.h for malloc(3) on FreeBSD, use stdlib.h. This
quietens the build considerably.
Notes
Notes:
svn path=/head/; revision=121219
Diffstat (limited to 'x11-wm/afterstep-stable')
-rw-r--r-- | x11-wm/afterstep-stable/files/patch-safemalloc.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-wm/afterstep-stable/files/patch-safemalloc.h b/x11-wm/afterstep-stable/files/patch-safemalloc.h new file mode 100644 index 000000000000..9f78af65a209 --- /dev/null +++ b/x11-wm/afterstep-stable/files/patch-safemalloc.h @@ -0,0 +1,13 @@ +$FreeBSD$ + +--- libAfterBase/safemalloc.h.orig Mon Sep 13 13:48:08 2004 ++++ libAfterBase/safemalloc.h Mon Sep 13 13:48:40 2004 +@@ -1,7 +1,7 @@ + #ifndef SAFEMALLOC_H_HEADER_INCLUDED + #define SAFEMALLOC_H_HEADER_INCLUDED + +-#ifdef HAVE_MALLOC_H ++#if defined(HAVE_MALLOC_H) && !defined(__FreeBSD__) + #include <malloc.h> + #else + #ifdef HAVE_STDLIB_H |