summaryrefslogtreecommitdiff
path: root/editors/emacs20/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-04 12:19:23 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-04 12:19:23 +0000
commit0bd65e95f13e11a551abbb1c3f08ba435ddc7ef4 (patch)
treec8eb6be6677ab2224ad5773421b67cbb3accf116 /editors/emacs20/patches
parentd6af2087d8c6bf69fb63d12bb837342a612dea6c (diff)
downloadpkgsrc-0bd65e95f13e11a551abbb1c3f08ba435ddc7ef4.tar.gz
malloc.h --> stdlib.h
Diffstat (limited to 'editors/emacs20/patches')
-rw-r--r--editors/emacs20/patches/patch-cb13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/emacs20/patches/patch-cb b/editors/emacs20/patches/patch-cb
new file mode 100644
index 00000000000..74979cf71f3
--- /dev/null
+++ b/editors/emacs20/patches/patch-cb
@@ -0,0 +1,13 @@
+$NetBSD: patch-cb,v 1.1 2007/08/04 12:19:23 joerg Exp $
+
+--- src/alloc.c.orig 2007-08-04 11:48:13.000000000 +0000
++++ src/alloc.c
+@@ -53,7 +53,7 @@ extern char *sbrk ();
+
+ #if defined (__STDC__) && __STDC__
+ #include <stddef.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #define __malloc_size_t size_t
+ #else
+ #define __malloc_size_t unsigned int