From 927d38b876febb750379dc02e732731692b0e84e Mon Sep 17 00:00:00 2001 From: minskim Date: Wed, 21 Jun 2006 15:00:51 +0000 Subject: Remove conflicting declaration of malloc(); include stdlib.h instead. --- converters/cn2jp/distinfo | 3 ++- converters/cn2jp/patches/patch-ad | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 converters/cn2jp/patches/patch-ad (limited to 'converters') diff --git a/converters/cn2jp/distinfo b/converters/cn2jp/distinfo index 8e6cab83dda..ef93fe32d93 100644 --- a/converters/cn2jp/distinfo +++ b/converters/cn2jp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2006/01/11 16:02:24 joerg Exp $ +$NetBSD: distinfo,v 1.4 2006/06/21 15:00:51 minskim Exp $ SHA1 (cn2jp1.4b.tar.gz) = 09cee0b189e5925a5378f1f817cc9593be899518 RMD160 (cn2jp1.4b.tar.gz) = 7697648e23586a0fba0d840ba57cf816c175ac10 @@ -6,3 +6,4 @@ Size (cn2jp1.4b.tar.gz) = 271660 bytes SHA1 (patch-aa) = a1b67afbc36161b2731a938d81e19af2c9fba7dd SHA1 (patch-ab) = a5a43c0dd84515a5c8b7d0cacc9a49b9b378a8e1 SHA1 (patch-ac) = b601a2893b8a94374e4b4271be49f87ee244ae53 +SHA1 (patch-ad) = 4c568df93470c404f12e4221fbb64c532ff18c6b diff --git a/converters/cn2jp/patches/patch-ad b/converters/cn2jp/patches/patch-ad new file mode 100644 index 00000000000..3cdee85d115 --- /dev/null +++ b/converters/cn2jp/patches/patch-ad @@ -0,0 +1,17 @@ +$NetBSD: patch-ad,v 1.1 2006/06/21 15:00:51 minskim Exp $ + +--- lib/jp-util.c.orig 1996-02-27 04:18:39.000000000 +0000 ++++ lib/jp-util.c +@@ -38,11 +38,10 @@ History: + 930923 extracted from codeconv.c of cosmos + ///////////////////////////////////////////////////////////////////////*/ + #include ++#include + #include + #include "jp-util.h" + +-char *malloc(); +- + int TREAT_SJIS = 1; + + unsigned char * -- cgit v1.2.3