summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorminskim <minskim>2006-06-21 15:00:51 +0000
committerminskim <minskim>2006-06-21 15:00:51 +0000
commit927d38b876febb750379dc02e732731692b0e84e (patch)
tree3ad13bd8fceb6913f167d454624f033f9d13a03a /converters
parentf16378520a4c5545698b6833010cddcd6ef837ff (diff)
downloadpkgsrc-927d38b876febb750379dc02e732731692b0e84e.tar.gz
Remove conflicting declaration of malloc(); include stdlib.h instead.
Diffstat (limited to 'converters')
-rw-r--r--converters/cn2jp/distinfo3
-rw-r--r--converters/cn2jp/patches/patch-ad17
2 files changed, 19 insertions, 1 deletions
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 <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include "jp-util.h"
+
+-char *malloc();
+-
+ int TREAT_SJIS = 1;
+
+ unsigned char *