summaryrefslogtreecommitdiff
path: root/misc/rpm/patches/patch-cd
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-cd
parent3fe8151441e6ab624d00786cbd892ea496568711 (diff)
downloadpkgsrc-f04327a8c57b2235b1bf79167e50ab960f042d31.tar.gz
no need to #include <malloc.h>.
fixes build on FreeBSD.
Diffstat (limited to 'misc/rpm/patches/patch-cd')
-rw-r--r--misc/rpm/patches/patch-cd12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/rpm/patches/patch-cd b/misc/rpm/patches/patch-cd
new file mode 100644
index 00000000000..c94910caa7d
--- /dev/null
+++ b/misc/rpm/patches/patch-cd
@@ -0,0 +1,12 @@
+$NetBSD: patch-cd,v 1.1 2003/10/19 16:05:21 grant Exp $
+
+--- build/spec.c.orig 1998-09-28 06:16:58.000000000 +1000
++++ build/spec.c
+@@ -1,7 +1,6 @@
+ #include "config.h"
+
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <string.h>
+
+ #include "files.h"