summaryrefslogtreecommitdiff
path: root/graphics/denemo
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-08 18:48:32 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-08 18:48:32 +0000
commit4f50b01ce988863ddcd01157bf9916b272dd61d7 (patch)
tree1e9d4310b5ae7963f6738c6e7403d348a27462bd /graphics/denemo
parentb0ec000fad423d16538c5f6077566ddffa2c5ad5 (diff)
downloadpkgsrc-4f50b01ce988863ddcd01157bf9916b272dd61d7.tar.gz
Don't use malloc.h.
Diffstat (limited to 'graphics/denemo')
-rw-r--r--graphics/denemo/distinfo3
-rw-r--r--graphics/denemo/patches/patch-ab18
2 files changed, 20 insertions, 1 deletions
diff --git a/graphics/denemo/distinfo b/graphics/denemo/distinfo
index c55111c8331..70f9fa88e34 100644
--- a/graphics/denemo/distinfo
+++ b/graphics/denemo/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.5 2007/03/30 16:22:52 joerg Exp $
+$NetBSD: distinfo,v 1.6 2007/08/08 18:48:32 joerg Exp $
SHA1 (denemo-0.7.6.tar.gz) = 6cb41657052964e69235722cf789f32cd4a29b9b
RMD160 (denemo-0.7.6.tar.gz) = 2c3805fc9d608a4a9fcdc093f4a712423dd40169
Size (denemo-0.7.6.tar.gz) = 1947693 bytes
SHA1 (patch-aa) = 200ae491fe5db81ff5db043e795f39e0c9be1a63
+SHA1 (patch-ab) = 3b95f78bba437f4fb62db18850e810a14f8b36d2
SHA1 (patch-configure) = e713b0073a24b46838e3e61f06f3a551ac0bf934
SHA1 (patch-midic) = 71d411805173650c9a4ee533334a246995b74bd0
diff --git a/graphics/denemo/patches/patch-ab b/graphics/denemo/patches/patch-ab
new file mode 100644
index 00000000000..8a2ca3a1983
--- /dev/null
+++ b/graphics/denemo/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.3 2007/08/08 18:48:32 joerg Exp $
+
+--- src/file.c.orig 2007-08-08 18:23:41.000000000 +0000
++++ src/file.c
+@@ -31,12 +31,12 @@
+ #include "binreloc.h"
+ #include "view.h"
+
++#include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include <sys/stat.h> /* check existance and type of files */
+ #include <dirent.h> /* filter and sort filenames */
+ #include <fnmatch.h> /* find filenames matches */
+-#include <malloc.h> /* I use free() */
+
+
+ typedef enum