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