summaryrefslogtreecommitdiff
path: root/x11/xscribble
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xscribble')
-rw-r--r--x11/xscribble/distinfo3
-rw-r--r--x11/xscribble/patches/patch-ae20
2 files changed, 22 insertions, 1 deletions
diff --git a/x11/xscribble/distinfo b/x11/xscribble/distinfo
index d772b79437f..8f3f39ea912 100644
--- a/x11/xscribble/distinfo
+++ b/x11/xscribble/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 17:36:25 wiz Exp $
+$NetBSD: distinfo,v 1.6 2006/07/29 04:39:31 minskim Exp $
SHA1 (xscribble.tgz) = 9983577533c6b6f482e2bfe863f54604337562c7
RMD160 (xscribble.tgz) = 49f5a5339819a76e303a135d54fb8ffd4f88febb
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = eaab5d05c9ced68dda8848df5360afc990e58b6d
SHA1 (patch-ab) = 6da2e1ba900c05d428de74b44e369c0e0c242190
SHA1 (patch-ac) = 0a6352bf35e79db51b25e195a5bed88661672987
SHA1 (patch-ad) = 9fe0ce4f137975cd380280e13ccfa1543016b5b7
+SHA1 (patch-ae) = 383631838e7467196ed5fa579084d4637cf82d7b
diff --git a/x11/xscribble/patches/patch-ae b/x11/xscribble/patches/patch-ae
new file mode 100644
index 00000000000..f947e6a9cfe
--- /dev/null
+++ b/x11/xscribble/patches/patch-ae
@@ -0,0 +1,20 @@
+$NetBSD: patch-ae,v 1.1 2006/07/29 04:39:31 minskim Exp $
+
+--- lirec/util.c.orig 2000-06-12 22:20:14.000000000 +0000
++++ lirec/util.c
+@@ -22,6 +22,7 @@ the full agreement.
+ #include <setjmp.h>
+ /* ari -- for strlen */
+ #include <string.h>
++#include <stdlib.h>
+
+ extern char* li_err_msg;
+ static char err_msg[BUFSIZ];
+@@ -34,7 +35,6 @@ char *
+ myalloc(nitems, itemsize, typename)
+ char *typename;
+ {
+- char *malloc();
+ register unsigned int bytes = nitems * itemsize;
+ register char *p = malloc(bytes);
+ if(p == NULL)