summaryrefslogtreecommitdiff
path: root/x11/xpostit/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xpostit/patches/patch-ac')
-rw-r--r--x11/xpostit/patches/patch-ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/xpostit/patches/patch-ac b/x11/xpostit/patches/patch-ac
new file mode 100644
index 00000000000..70cfc5b782a
--- /dev/null
+++ b/x11/xpostit/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.1 2006/07/29 04:42:08 minskim Exp $
+
+--- util.c.orig 1992-12-11 13:04:17.000000000 +0000
++++ util.c
+@@ -45,6 +45,7 @@ static char *RCSid = "$Header: /home/har
+ #include <X11/Intrinsic.h>
+ #include <sys/param.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <pwd.h>
+
+ #include "xpostit.h"
+@@ -129,7 +130,6 @@ char *
+ SafeAlloc(nbytes)
+ register int nbytes;
+ {
+- char *malloc();
+ register char *s;
+
+ if ((s = malloc(nbytes)) == NULL) {