summaryrefslogtreecommitdiff
path: root/misc/rpm/patches/patch-cc
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-10-19 16:05:21 +0000
committergrant <grant@pkgsrc.org>2003-10-19 16:05:21 +0000
commitf04327a8c57b2235b1bf79167e50ab960f042d31 (patch)
tree477fdb83a2fbdcd66fa5026438c915b9f2baece3 /misc/rpm/patches/patch-cc
parent3fe8151441e6ab624d00786cbd892ea496568711 (diff)
downloadpkgsrc-f04327a8c57b2235b1bf79167e50ab960f042d31.tar.gz
no need to #include <malloc.h>.
fixes build on FreeBSD.
Diffstat (limited to 'misc/rpm/patches/patch-cc')
-rw-r--r--misc/rpm/patches/patch-cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/rpm/patches/patch-cc b/misc/rpm/patches/patch-cc
new file mode 100644
index 00000000000..77f922f8571
--- /dev/null
+++ b/misc/rpm/patches/patch-cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-cc,v 1.1 2003/10/19 16:05:21 grant Exp $
+
+--- build/parseScript.c.orig 1998-09-28 06:16:53.000000000 +1000
++++ build/parseScript.c
+@@ -1,6 +1,6 @@
+ #include "config.h"
+
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ #include "intl.h"