summaryrefslogtreecommitdiff
path: root/devel/dia2code
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2007-04-03 20:23:10 +0000
committerminskim <minskim@pkgsrc.org>2007-04-03 20:23:10 +0000
commite8d2b43fdbdb6b629b19a5fde35f67ba5f8b0407 (patch)
treeda62358e3ad3d617725afbce7ac61766ab3dfe0b /devel/dia2code
parentb9d956d31c40096de3861163b593a896764f2711 (diff)
downloadpkgsrc-e8d2b43fdbdb6b629b19a5fde35f67ba5f8b0407.tar.gz
Make this package build on Darwin by not including malloc.h.
Diffstat (limited to 'devel/dia2code')
-rw-r--r--devel/dia2code/distinfo3
-rw-r--r--devel/dia2code/patches/patch-aa12
2 files changed, 14 insertions, 1 deletions
diff --git a/devel/dia2code/distinfo b/devel/dia2code/distinfo
index aab26ec47b8..e21bb6b829c 100644
--- a/devel/dia2code/distinfo
+++ b/devel/dia2code/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/03/19 12:47:47 rillig Exp $
+$NetBSD: distinfo,v 1.2 2007/04/03 20:23:10 minskim Exp $
SHA1 (dia2code-0.8.1.tar.gz) = 5d72a23e82208e789ef1ecceee80edfb8813025b
RMD160 (dia2code-0.8.1.tar.gz) = 522e48761a4779fd9af9752fd46d8b3ed4717615
Size (dia2code-0.8.1.tar.gz) = 71453 bytes
+SHA1 (patch-aa) = 998b0c25a26209f3e8c06d3e181715b9165b88ef
diff --git a/devel/dia2code/patches/patch-aa b/devel/dia2code/patches/patch-aa
new file mode 100644
index 00000000000..90c8593b0b5
--- /dev/null
+++ b/devel/dia2code/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2007/04/03 20:23:10 minskim Exp $
+
+--- dia2code/dia2code.h.orig 2002-01-01 09:11:40.000000000 -0800
++++ dia2code/dia2code.h
+@@ -20,7 +20,6 @@
+
+ #include <string.h>
+ #include <ctype.h>
+-#include <malloc.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+