summaryrefslogtreecommitdiff
path: root/x11/xscribble/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xscribble/patches/patch-ae')
-rw-r--r--x11/xscribble/patches/patch-ae20
1 files changed, 20 insertions, 0 deletions
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)