summaryrefslogtreecommitdiff
path: root/x11/xpostit
diff options
context:
space:
mode:
authorminskim <minskim>2006-07-29 04:39:31 +0000
committerminskim <minskim>2006-07-29 04:39:31 +0000
commit2df4556feb7a5fd5e44c9bb2f7d94d63848c790d (patch)
tree121a1722710975356e115fc6b054c2e7c49d69f9 /x11/xpostit
parent4c869d3fc9ac9dfa09bffeffd7e9d97da211d47f (diff)
downloadpkgsrc-2df4556feb7a5fd5e44c9bb2f7d94d63848c790d.tar.gz
Remove conflicting declaration of malloc(). Include stdlib.h instead.
Diffstat (limited to 'x11/xpostit')
-rw-r--r--x11/xpostit/distinfo3
-rw-r--r--x11/xpostit/patches/patch-ac20
2 files changed, 22 insertions, 1 deletions
diff --git a/x11/xpostit/distinfo b/x11/xpostit/distinfo
index 5984a3dcc66..b21ffc3cb12 100644
--- a/x11/xpostit/distinfo
+++ b/x11/xpostit/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 17:36:25 wiz Exp $
+$NetBSD: distinfo,v 1.4 2006/07/29 04:42:08 minskim Exp $
SHA1 (xpostit3.3.1.tar.Z) = 8ba13bb544d9c99308e36fff2590623ad9a16fef
RMD160 (xpostit3.3.1.tar.Z) = 913ed61908541c65b8f2930c0f066ad2704b7856
Size (xpostit3.3.1.tar.Z) = 53910 bytes
SHA1 (patch-aa) = f958b6cfdf3d6ac269d0a73efb4c483fcba1a273
SHA1 (patch-ab) = 6a61ec1ed69e0311a98bea7bca30f09a74e386a3
+SHA1 (patch-ac) = ba9db152d764e0ab02aca8e0c2f8bf67ce4d4dc4
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) {