summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-07-29 05:34:06 +0000
committerminskim <minskim@pkgsrc.org>2006-07-29 05:34:06 +0000
commitd9002ee8ba3c44ae9f89763ce6771543b512db28 (patch)
treee696915ad619b67b193aec5bf5af10acf7193a84 /editors
parentd606639037ed8ee7caca788c540ec13513002828 (diff)
downloadpkgsrc-d9002ee8ba3c44ae9f89763ce6771543b512db28.tar.gz
Remove conflicting declaration of malloc(). Include stdlib.h instead.
Diffstat (limited to 'editors')
-rw-r--r--editors/xcoral/distinfo3
-rw-r--r--editors/xcoral/patches/patch-ad20
2 files changed, 22 insertions, 1 deletions
diff --git a/editors/xcoral/distinfo b/editors/xcoral/distinfo
index 2c0c35b5651..f06b2699e88 100644
--- a/editors/xcoral/distinfo
+++ b/editors/xcoral/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2005/11/07 20:26:32 tv Exp $
+$NetBSD: distinfo,v 1.5 2006/07/29 05:34:06 minskim Exp $
SHA1 (xcoral-3.2.tar.gz) = 31b9ea50da10a3c09433062b0ae121246094cdbf
RMD160 (xcoral-3.2.tar.gz) = 6b1b3206d3e0d8b0da87e85c30e0eed167ef42c3
@@ -6,3 +6,4 @@ Size (xcoral-3.2.tar.gz) = 1412437 bytes
SHA1 (patch-aa) = 5ee143709bb60de8be543fae08f9534894a1aa42
SHA1 (patch-ab) = cd23f32a4b242e640db44f29c0f5aad7b90080dd
SHA1 (patch-ac) = e0285e7bedce0d98c0d977a002b0b2ac70a748b5
+SHA1 (patch-ad) = 3dfe4e1c81672cf4c96a16c434aebaeead5777be
diff --git a/editors/xcoral/patches/patch-ad b/editors/xcoral/patches/patch-ad
new file mode 100644
index 00000000000..5d991025534
--- /dev/null
+++ b/editors/xcoral/patches/patch-ad
@@ -0,0 +1,20 @@
+$NetBSD: patch-ad,v 1.1 2006/07/29 05:34:06 minskim Exp $
+
+--- new_window.c.orig 1998-10-19 09:04:01.000000000 +0000
++++ new_window.c
+@@ -46,6 +46,7 @@
+ *
+ */
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+
+@@ -105,7 +106,6 @@ EdWin *CreateWindow ()
+ EdWin *edtmp;
+ Window root;
+ int screen;
+- char *malloc ();
+ XYMenu *MakeMenus ();
+ Text *MakeTextWindow ();
+ MWin *MakeControlPanel ();