aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/afterstep-stable
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2004-11-10 05:56:23 +0800
committerglewis <glewis@FreeBSD.org>2004-11-10 05:56:23 +0800
commitbc3b2644e34372f4ec650a0f381a96b2cf38cbf7 (patch)
tree31bfc7047cc521f127567aa850401ab4c450d294 /x11-wm/afterstep-stable
parente976e2e448fcfab2a48e9a9f4af215efac562063 (diff)
downloadfreebsd-ports-graphics-bc3b2644e34372f4ec650a0f381a96b2cf38cbf7.tar.gz
freebsd-ports-graphics-bc3b2644e34372f4ec650a0f381a96b2cf38cbf7.tar.zst
freebsd-ports-graphics-bc3b2644e34372f4ec650a0f381a96b2cf38cbf7.zip
. Don't use malloc.h for malloc(3) on FreeBSD, use stdlib.h. This
quietens the build considerably.
Diffstat (limited to 'x11-wm/afterstep-stable')
-rw-r--r--x11-wm/afterstep-stable/files/patch-safemalloc.h13
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 00000000000..9f78af65a20
--- /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