diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2005-02-03 12:39:22 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2005-02-03 12:39:22 +0000 |
commit | d605e4a13d065516baaf27e9e0c9ab873811f89d (patch) | |
tree | 26b71cd2032e633db849528ce4e10276a1c26b83 /cad/geda/patches | |
parent | 9816b6d4e0c1f5e2aee3c803f4a01a26f25775ad (diff) | |
download | pkgsrc-d605e4a13d065516baaf27e9e0c9ab873811f89d.tar.gz |
use stdlib.h instead of malloc.h. Addresses PR29206 by John Baker
which prevented compilation on MacOS X 10.2.8.
Diffstat (limited to 'cad/geda/patches')
-rw-r--r-- | cad/geda/patches/patch-ac | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/cad/geda/patches/patch-ac b/cad/geda/patches/patch-ac index 4c87ff3cc3c..6ad03ac85e2 100644 --- a/cad/geda/patches/patch-ac +++ b/cad/geda/patches/patch-ac @@ -1,12 +1,17 @@ -$NetBSD: patch-ac,v 1.1 2005/01/11 03:16:22 dmcmahill Exp $ +$NetBSD: patch-ac,v 1.2 2005/02/03 12:39:22 dmcmahill Exp $ --- src/doc.c.orig 2003-12-11 08:44:17.000000000 +0000 -+++ src/doc.c -@@ -38,6 +38,7 @@ - #include "filetool.h" ++++ src/doc.c 2005-02-03 12:24:43.000000000 +0000 +@@ -20,5 +20,5 @@ + /*******************************************************************************/ + +-#include <malloc.h> ++#include <stdlib.h> + #include <stdio.h> + #include <string.h> +@@ -39,4 +39,5 @@ #include "global.h" #include "m_action.h" +#include "m_project.h" #include "msgbox.h" #include "project.h" - #include "support.h" |